Browse Source

模型图添加监听消息

haojianlong 5 năm trước cách đây
mục cha
commit
cfd02ba9b9
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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