From 43be749c58d97a20e07baf4a06276f72918c2207 Mon Sep 17 00:00:00 2001 From: wang-liang0615 Date: Tue, 26 Sep 2023 17:35:41 +0800 Subject: [PATCH] =?UTF-8?q?add=20packages=20&=20=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmdb-ui/package.json | 2 ++ cmdb-ui/src/modules/cmdb/views/ci_types/triggerForm.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmdb-ui/package.json b/cmdb-ui/package.json index 1eb3c60..890376a 100644 --- a/cmdb-ui/package.json +++ b/cmdb-ui/package.json @@ -17,6 +17,8 @@ "@babel/plugin-syntax-import-meta": "^7.10.4", "@riophae/vue-treeselect": "^0.4.0", "@vue/composition-api": "^1.7.1", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^1.0.0", "ant-design-vue": "^1.6.5", "axios": "0.18.0", "babel-eslint": "^8.2.2", diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/triggerForm.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/triggerForm.vue index 9fe6e4c..b5416d0 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/triggerForm.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/triggerForm.vue @@ -298,7 +298,7 @@ export default { createFromTriggerTable(attrList) { this.visible = true this.getWxList() - this.getDags() + // this.getDags() this.attrList = attrList this.triggerId = null this.title = '新增触发器' @@ -318,7 +318,7 @@ export default { async open(property, attrList) { this.visible = true this.getWxList() - await this.getDags() + // await this.getDags() this.attrList = attrList if (property.has_trigger) { this.triggerId = property.trigger.id