修改切换

dev
夜笙歌 1 year ago
parent 36c11cc52b
commit f88f44271d

@ -14,11 +14,13 @@
{{ name }} <i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<div style="height: 300px;overflow: auto">
<el-dropdown-item v-for="i in selectSecnesList" :key="i.sceneId"
:command="{router:i.router,name:i.sceneName,sceneId:i.sceneId}">{{
i.sceneName
}}
</el-dropdown-item>
</div>
</el-dropdown-menu>
</el-dropdown>
</div>

@ -84,6 +84,12 @@ export default {
Chart,
vueSeamlessScroll,
},
watch:{
async $route(to,from){
await this.getData()
console.log(123)
}
},
data() {
return {
num1: 0,

Loading…
Cancel
Save