Browse Source

保存表单后刷新数据

duy 1 year ago
parent
commit
0b94245ce9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/tentative/detect/test-form.vue

+ 2 - 0
src/views/tentative/detect/test-form.vue

@@ -1226,6 +1226,7 @@ const tableFormSaveClick = async () => {
                       await getSearchNodeTables()
                       await getSearchNodeTablesall(1)
                       await getSearchNodeTablesall(2)
+                      await queryNodeStatus(data)
                
                     } else {
                         listItemBaseData.value.id = data
@@ -1234,6 +1235,7 @@ const tableFormSaveClick = async () => {
                         await getSearchNodeTables()
                         await getSearchNodeTablesall(1)
                         await getSearchNodeTablesall(2)
+                        await queryNodeStatus(data)
                     
                         afterAdd.value = true
                         isaddType = false