mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 11:00:13 +08:00
优化页面select选择器
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
<el-select
|
||||
v-model="form.merchantId"
|
||||
clearable placeholder="请选择运营商"
|
||||
@change="$forceUpdate()"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in merchantList"
|
||||
@@ -263,7 +264,7 @@ export default {
|
||||
// 获取运营商列表
|
||||
getMerchantList() {
|
||||
getMerchantList().then((response) => {
|
||||
console.log("getMerchantList response", response)
|
||||
// console.log("getMerchantList response", response);
|
||||
this.merchantList = response.obj;
|
||||
this.form.merchantId = this.merchantList[0].merchantId
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user