heyujie
2022-05-05 4c2c3361468f37e3af1a993af8d0185964dccf56
repeated name err msg
1个文件已修改
20 ■■■■ 已修改文件
src/views/personalCenter/components/SubAccount.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/personalCenter/components/SubAccount.vue
@@ -414,12 +414,18 @@
        menuIds: this.ruleForm.menuIds,
        dataIds: this.ruleForm.dataIds,
      };
      saveSubUser(json).then((res) => {
      saveSubUser(json)
        .then((res) => {
        if (res.success) {
          this.isShowAdd = false;
          this.isEditing = false;
          this.findUserList();
          } else {
            this.$notify.error(res.msg);
        }
        })
        .catch((err) => {
          this.$notify.error(err.message);
      });
    },
    findUserList() {
@@ -427,15 +433,17 @@
        inputText: this.inputText,
        page: this.page,
        size: this.size,
      }).then((res) => {
      })
        .then((res) => {
        if (res.success) {
          this.dataList = res.data.dataList;
          this.total = res.data.total
            this.total = res.data.total;
        }else{
          this.$notify.error("加载子账户列表失败")
            this.$notify.error("加载子账户列表失败");
        }
      }).catch((e) => {
          this.$notify.error(e.msg)
        })
        .catch((e) => {
          this.$notify.error(e.msg);
      });
    },
    goback() {