From 65431710556c0752ff70bdfc0b0697f0e3fb28fd Mon Sep 17 00:00:00 2001
From: z_yu <1534695664@qq.com>
Date: Mon, 13 Jun 2022 09:04:49 +0800
Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=B1=BB=E7=AE=A1=E7=90=86=20bug?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/category/index.vue | 3 +++
src/views/category/sortDialog.vue | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/views/category/index.vue b/src/views/category/index.vue
index fd5ac92..1ab80ce 100644
--- a/src/views/category/index.vue
+++ b/src/views/category/index.vue
@@ -149,6 +149,9 @@ export default {
this.crud.selectionChangeHandler([val])
this.$refs.eform.pid = val.id
this.selectedCategory = val
+ if (val.isType === 1 || val.isType === 2) {
+ this.changeActiveTab(0)
+ }
}
},
updateKeyChildren(data) {
diff --git a/src/views/category/sortDialog.vue b/src/views/category/sortDialog.vue
index 5c79171..6dedb01 100644
--- a/src/views/category/sortDialog.vue
+++ b/src/views/category/sortDialog.vue
@@ -7,7 +7,7 @@
提示:请通过拖动鼠标来调整当前顺序