diff --git a/frontend/package.json b/frontend/package.json index 64e3b2a..18f7a55 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,7 +21,7 @@ "@antv/x6-vue-shape": "^2.0.11", "@babel/core": "^7.14.3", "@blueking/bkcharts": "^2.0.6", - "@blueking/bkui-form": "0.0.41", + "@blueking/bkui-form": "0.0.42-beta.11", "@blueking/login-modal": "^1.0.1", "@blueking/notice-component-vue2": "^2.0.1", "@blueking/platform-config": "^1.0.3", diff --git a/frontend/src/views/admin/Space/DecisionTable/components/DebugDialog.vue b/frontend/src/views/admin/Space/DecisionTable/components/DebugDialog.vue index 00f4ec6..93ba685 100644 --- a/frontend/src/views/admin/Space/DecisionTable/components/DebugDialog.vue +++ b/frontend/src/views/admin/Space/DecisionTable/components/DebugDialog.vue @@ -130,6 +130,9 @@ if (editorInstance) { editorInstance.layoutCodeEditorInstance(); } + if (!val) { + this.formData = {}; + } }); }, }, diff --git a/frontend/src/views/template/TemplateEdit/NodeConfig/NodeConfig.vue b/frontend/src/views/template/TemplateEdit/NodeConfig/NodeConfig.vue index 451ce93..069e45b 100644 --- a/frontend/src/views/template/TemplateEdit/NodeConfig/NodeConfig.vue +++ b/frontend/src/views/template/TemplateEdit/NodeConfig/NodeConfig.vue @@ -845,7 +845,7 @@ const { uniform_api_plugin_method: method, uniform_api_plugin_url: realMetaUrl } = component.data; Object.assign(data, { plugin: 'uniform_api', - name: `${category.name}_${name}`, + name: `${category.name}-${name}`, pluginId: id, method: method.value, groupId: category.id,