diff --git a/src/views/pages/process/catalog/catalog-manage.vue b/src/views/pages/process/catalog/catalog-manage.vue index 51715b5047a3abbdacc1e8f7fe93c3655bded1f0..046685f4d4281f46577efd37ac57899c543d087f 100644 --- a/src/views/pages/process/catalog/catalog-manage.vue +++ b/src/views/pages/process/catalog/catalog-manage.vue @@ -217,6 +217,7 @@ export default { this.catalogName = this.$t('dialog.title.edittarget', { target: this.$t('term.process.catalog') }); this.channelData.parentUuid = node.parentUuid; // 编辑服务 this.channelData.uuid = node.uuid; + this.childrenCount = node.childrenCount; } } return false; @@ -427,7 +428,7 @@ export default { }, computed: { handleClassName() { - return !!(!(this.childrenCount == undefined || this.childrenCount == 0) || this.disabledConfig.saving); + return this.childrenCount > 0 || this.disabledConfig.saving; } }, watch: {}