Commit fc85da38 authored by wxk's avatar wxk

bugfix

parent 1ae73bbc
File deleted
......@@ -38,8 +38,9 @@
},
methods: {
navClick(index) {
Bus.$emit('refresh');
if(this.active != 'account'){
if(index != 'account'){
Bus.$emit('refresh');
console.log('111')
this.$router.push(`/monitor/${index}`);
}else{
this.$router.push('/monitor/account');
......
......@@ -200,6 +200,9 @@
this.getRobotList(Params);
})*/
},
beforeDestroy() {
Bus.$off('refresh');
},
methods: {
init() {
this.robotStatus = '', //机器人状态
......
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