From 40f4af2997c780245e829be5cb2871c51f4361fd Mon Sep 17 00:00:00 2001 From: zyuu Date: Sun, 22 Jun 2025 22:55:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=BC=A0=E5=8F=82bug,?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF,?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=BC=A0=E5=85=A5parentId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DialogAddCategory.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DialogAddCategory.vue b/src/components/DialogAddCategory.vue index d923bba..10fc702 100644 --- a/src/components/DialogAddCategory.vue +++ b/src/components/DialogAddCategory.vue @@ -107,7 +107,7 @@ const submitForm = () => { axios.put('/categories', { categoryId: state.id, categoryLevel: state.categoryLevel, - parentId: state.categoryLevel, + parentId: state.parentId, categoryName: state.ruleForm.name, categoryRank: state.ruleForm.rank }).then(() => {