From b57652aea43997b1288e532dbe13ade6b84901a2 Mon Sep 17 00:00:00 2001 From: wusijian0117 <2910410219@qq.com> Date: Mon, 16 Mar 2026 17:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=86=E7=B1=BB=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=BA=A7=E8=81=94=E9=80=89=E6=8B=A9=E5=99=A8value?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=98=A0=E5=B0=84=E4=BB=8Eid=E6=94=B9?= =?UTF-8?q?=E4=B8=BAbid,=E4=BC=98=E5=8C=96=E6=8F=90=E4=BA=A4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=93=E6=9E=84=E6=98=BE=E5=BC=8F=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=B9=B6=E5=A4=84=E7=90=86parentId=E7=A9=BA?= =?UTF-8?q?=E5=80=BC=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/category/component/editCategory.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/assets/category/component/editCategory.vue b/src/views/assets/category/component/editCategory.vue index c8cfe1a..85cfd6c 100644 --- a/src/views/assets/category/component/editCategory.vue +++ b/src/views/assets/category/component/editCategory.vue @@ -6,7 +6,7 @@ { }); return { - ...ruleForm, + id: ruleForm.id, + parentId: ruleForm.parentId ?? '', + name: ruleForm.name, + sort: ruleForm.sort, attrs: processedAttrs, }; };