From 9cb1c3c39136c89974bc4049fca5e450e757b1be Mon Sep 17 00:00:00 2001
From: 13404089107 <puwei@sinata.cn>
Date: 星期五, 15 八月 2025 17:51:03 +0800
Subject: [PATCH] fix

---
 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