From 9fe11a3b1c7ca926e2f4e97e36c2911c290a0ab2 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期一, 30 六月 2025 14:23:54 +0800 Subject: [PATCH] 修改bug --- laboratory/src/views/system/user/components/inherit.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/laboratory/src/views/system/user/components/inherit.vue b/laboratory/src/views/system/user/components/inherit.vue index 88fbe84..039306b 100644 --- a/laboratory/src/views/system/user/components/inherit.vue +++ b/laboratory/src/views/system/user/components/inherit.vue @@ -80,10 +80,10 @@ }, submit() { let params={ - userId:this.id, - oldUserId:this.tableData[0].id + userId:this.row.userId, + oldUserId:this.tableData[0].userId } - inherit(params).then(res=>{ + inherit({...params}).then(res=>{ this.$message.success('继承成功') this.$emit('close') }) -- Gitblit v1.7.1