Przeglądaj źródła

监控页面数据动态刷新

oyq28 2 lat temu
rodzic
commit
592aa7178c

+ 8 - 0
imcs-ui/src/views/zuihou/machiningClient/touchScreen/Index.vue

@@ -317,6 +317,14 @@ export default {
   created() {
     this.getStation();
   },
+  watch: {
+    'taskData': {
+        handler(val, oldVal) {
+          // 加载列表数据
+          window.location.reload()
+        }
+      }
+  },
   computed: {
     currentUser() {
       return this.$store.state.account.user;