From cd884f8677046ef9c22ff0f009878641a127367e Mon Sep 17 00:00:00 2001 From: yaojn Date: Fri, 12 Jan 2024 12:06:49 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=AE=A1=E7=90=86=EF=BC=8C=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E8=A2=AB=E5=BC=95=E7=94=A8=E4=B9=8B=E5=90=8E=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E8=BF=98=E5=8F=AF=E4=BB=A5=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pages/process/catalog/catalog-manage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/pages/process/catalog/catalog-manage.vue b/src/views/pages/process/catalog/catalog-manage.vue index 4e4c17ce..71150eda 100644 --- a/src/views/pages/process/catalog/catalog-manage.vue +++ b/src/views/pages/process/catalog/catalog-manage.vue @@ -350,7 +350,7 @@ export default { //树节点删除 nodeDelete(treeNode) { let {uuid = null, name = '', type = '', childrenCount = 0} = treeNode || {}; - if (childrenCount > 0 && !type) { + if (childrenCount > 0 || !type) { return false; } let apiFunc = type == 'catalog' ? this.$api.process.service.deleteCatalog({uuid: uuid}) : this.$api.process.service.deleteChannel({uuid: uuid}); -- Gitee