소스 검색

模型图添加监听消息

haojianlong 5 년 전
부모
커밋
cfd02ba9b9
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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