清除多余代码

This commit is contained in:
yanran200730
2022-03-18 15:05:40 +08:00
parent e67e0fbb82
commit b9159b8e15
12 changed files with 143 additions and 150 deletions

View File

@@ -106,13 +106,11 @@
id: ''
},
id: '',
tagsList: [],
areaList: []
tagsList: []
}
},
created () {
this.getAreaList()
this.getTags()
if (this.params && this.params.departmentId && !this.params.id) {
@@ -162,19 +160,6 @@
})
},
getAreaList() {
this.instance.post(`/admin/area/queryAreaByParentId?id=341021104000`).then(res => {
if (res.code == 0) {
this.areaList = res.data.map(item => {
item.dictName = item.name
item.dictValue = item.id
return item
})
}
})
},
onClose () {
this.form.explain = ''
},