bihuisong 1 year ago
parent
commit
2e6eca8ebb
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ruoyi-ui/src/views/authority/secret/index.vue

+ 4 - 0
ruoyi-ui/src/views/authority/secret/index.vue

@@ -215,6 +215,7 @@ export default {
     handleQuery() {
       this.queryParams.pageNum = 1;
       this.getList();
+      this.getProjectList();
     },
     /** 重置按钮操作 */
     resetQuery() {
@@ -275,12 +276,14 @@ export default {
               this.$modal.msgSuccess("修改成功");
               this.open = false;
               this.getList();
+              this.getProjectList();
             });
           } else {
             addSecret(this.form).then(response => {
               this.$modal.msgSuccess("新增成功");
               this.open = false;
               this.getList();
+              this.getProjectList();
             });
           }
         }
@@ -293,6 +296,7 @@ export default {
         return delSecret(ids);
       }).then(() => {
         this.getList();
+        this.getProjectList();
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {
       });