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