|
@ -81,6 +81,7 @@ export default { |
|
|
let subtitle = this.renderKeyNew.subtitle; |
|
|
let subtitle = this.renderKeyNew.subtitle; |
|
|
this.activeFloor = newVal[this.curIndex]?.list?.[0][subtitle]; |
|
|
this.activeFloor = newVal[this.curIndex]?.list?.[0][subtitle]; |
|
|
this.componentsName = newVal[this.curIndex]?.list?.[0]?.componentsName || ''; |
|
|
this.componentsName = newVal[this.curIndex]?.list?.[0]?.componentsName || ''; |
|
|
|
|
|
store.commit('SET_CURRENTMENUITEM', newVal[this.curIndex]?.list?.[0]); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
@ -183,6 +184,7 @@ export default { |
|
|
// }, 1000) |
|
|
// }, 1000) |
|
|
// } |
|
|
// } |
|
|
setActiveCur(item1, item, index) { |
|
|
setActiveCur(item1, item, index) { |
|
|
|
|
|
store.commit('SET_CURRENTMENUITEM', item1); |
|
|
this.curIndex = index; |
|
|
this.curIndex = index; |
|
|
let subtitle = this.renderKeyNew.subtitle; |
|
|
let subtitle = this.renderKeyNew.subtitle; |
|
|
let domName = this.renderKeyNew.domName; |
|
|
let domName = this.renderKeyNew.domName; |
|
|