Explorar el Código

update SysUpdate.vue

reghao hace 2 meses
padre
commit
72fb43cda8
Se han modificado 1 ficheros con 10 adiciones y 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() {