reghao 2 месяцев назад
Родитель
Сommit
72fb43cda8
1 измененных файлов с 10 добавлено и 0 удалено
  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() {