mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
优化代码
This commit is contained in:
parent
e9417fb07f
commit
829c544e72
@ -44,7 +44,7 @@
|
||||
<el-form-item :label="$t('addInspectionPoint.itemId')" prop="itemId">
|
||||
<el-select v-model="addInspectionPointInfo.itemId"
|
||||
:placeholder="$t('addInspectionPoint.placeholder.itemId')" style="width: 100%;">
|
||||
<el-option v-for="item in addInspectionPointInfo.items" :key="item.itemId" :label="item.itemName"
|
||||
<el-option v-for="(item, index) in addInspectionPointInfo.items" :key="index" :label="item.itemName"
|
||||
:value="item.itemId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -158,10 +158,10 @@ export default {
|
||||
this.dialogVisible = true
|
||||
this.resetForm()
|
||||
this.getDictData()
|
||||
this._listAddInspectionItems()
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.initMap()
|
||||
this._listAddInspectionItems()
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user