From 9f1e7f80a3260c30e1e534437da5c79e17fc20af Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 16 四月 2025 14:35:23 +0800 Subject: [PATCH] 代码初始化 --- admin/src/components/business/OperaCategoryWindow.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/components/business/OperaCategoryWindow.vue b/admin/src/components/business/OperaCategoryWindow.vue index 252600a..6abc7b5 100644 --- a/admin/src/components/business/OperaCategoryWindow.vue +++ b/admin/src/components/business/OperaCategoryWindow.vue @@ -113,7 +113,7 @@ this.title = title this.categorys = JSON.parse(JSON.stringify(categorys||[])); // this.categorys = this.getTreeData(this.categorys) - console.log(this.categorys) + console.log(parentId) this.visible = true this.form = { id: null, @@ -122,7 +122,7 @@ remark: '', categoryList: [], sortnum: null, - parentId: parentId + parentId: parentId || null } this.form.type = categoryType // 鏂板缓 -- Gitblit v1.9.3