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