Explorar el Código

模型图添加监听消息

haojianlong hace 5 años
padre
commit
cfd02ba9b9
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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