Browse Source

菜单bug

V1.0
mk 3 years ago
parent
commit
46040a3ef9
  1. 5
      src/views/modules/base/community/community.vue

5
src/views/modules/base/community/community.vue

@ -664,6 +664,7 @@ export default {
async loadTree (isRefresh) {
const url = "/actual/base/communityBuilding/tree/initTree"
const { data, code, msg } = await requestGet(url)
this.handleNodeClick(data)
if (code === 0) {
this.treeData = []
this.treeData.push(data)
@ -739,7 +740,9 @@ export default {
this.vDisabled = false
this.bDisabled = false
if (obj.level === 'building') {//
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
setTimeout(()=>{
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
},100)
this.selAgencyId = ''
this.selGridId = ''
await this.getValiheList()

Loading…
Cancel
Save