Ver código fonte

模型图添加监听消息

haojianlong 5 anos atrás
pai
commit
cfd02ba9b9
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/model/file/pathcontrol/index.vue

+ 3 - 3
src/views/model/file/pathcontrol/index.vue

@@ -325,9 +325,9 @@ export default {
     }
   },
   mounted() {
-    // Bus.$on('modelStatusChange', message => {
-    //   this.init()
-    // })
+    Bus.$on('modelStatusChange', message => {
+      this.init()
+    })
   },
   created() {
     this.Id = this.$route.query.Id