diff --git a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue index f22a9f7d29..10c42d1a5d 100644 --- a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue +++ b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue @@ -415,7 +415,7 @@ }, // 文本框失焦 handleInputBlur (e) { - this.$emit('blur') + this.$emit('blur', this.input.value) this.input.focus = false // 更新文本框结构,生成tag标签 this.updateInputHtml() diff --git a/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue b/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue index ef33197dd4..6f27b02bf7 100644 --- a/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue +++ b/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue @@ -364,7 +364,7 @@ }, // 文本框失焦 handleInputBlur (e) { - this.$emit('blur') + this.$emit('blur', this.input.value) this.input.focus = false // 更新文本框结构,生成tag标签 this.updateInputHtml()