Commit 6313111e authored by wends's avatar wends

update 仪表盘

parent ee184c90
......@@ -21,7 +21,6 @@
<div class="custom-menu">
<el-menu
ref="customMenu"
:default-active="defaultActive"
@select="onInstanceSelect"
>
<el-menu-item
......@@ -29,7 +28,6 @@
:id="'instance' + instance.id"
:key="'instance' + index"
:index="instance.id.toString()"
:class="'instance' + instance.id"
>{{ instance.name }}</el-menu-item>
</el-menu>
</div>
......@@ -206,7 +204,6 @@ export default {
this.$nextTick()
.then(_ => {
if (this.deviceInstanceList.length) {
this.defaultActive = this.deviceInstanceList[0].id.toString()
this.deviceInstance = this.deviceInstanceList[0].id
this.$nextTick()
.then(_ => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment