大宝管理后台代码
zzzz
2024-04-26 e624c205c53c0e082dc489e113ae9765b07a5e70
src/views/userlist/components/editCapitaluserdialog.vue
@@ -119,7 +119,8 @@
        if (!errors) {
          this.editUserDialogloading = true
          console.log({ id: arr[0].id, amt: amt, type: this.direction })
          updateMoney({ id: arr[0].id, amt: amt, type: values.direction }).then((res) => {
          updateMoney({ id: arr[0].id, amt: amt, type: values.direction })
            .then((res) => {
            if (res.status == 0) {
              this.editUserdialog = false
              this.$message.success(res.msg)
@@ -130,6 +131,9 @@
            }
            this.editUserDialogloading = false
          })
            .catch((res) => {
              this.editUserDialogloading = false
            })
        } else {
          console.log(3333)
        }