Explorar o código

update SysUpdate.vue

reghao hai 2 meses
pai
achega
72fb43cda8
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/views/devops/sys/SysUpdate.vue

+ 10 - 0
src/views/devops/sys/SysUpdate.vue

@@ -339,6 +339,11 @@ export default {
   },
   created() {
     document.title = '系统更新'
+    const nodeType = this.$route.query.nodeType
+    if (nodeType !== undefined && nodeType !== null) {
+      this.queryInfo.nodeType = nodeType
+    }
+
     this.getData()
   },
   methods: {
@@ -355,6 +360,11 @@ export default {
       })
     },
     onSelectChange() {
+      this.$router.push({
+        path: '/bg/sys/update',
+        query: this.queryInfo
+      })
+
       this.getData()
     },
     handleAdd() {