From b93f8675c1d3d958b3917466622572b7f8cc7257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 22 Jul 2022 21:15:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MDinput/index.vue | 21 ++++++++----------- .../xm/core/xmQuestion/XmQuestionEdit.vue | 6 +++--- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/components/MDinput/index.vue b/src/components/MDinput/index.vue index 068a3023..1ce00e23 100644 --- a/src/components/MDinput/index.vue +++ b/src/components/MDinput/index.vue @@ -2,22 +2,22 @@
- - - - - - @@ -79,8 +79,7 @@ export default { data() { return { currentValue: this.value, - focus: false, - fillPlaceHolder: null + focus: false, } }, methods: { @@ -97,14 +96,12 @@ export default { handleMdFocus(event) { this.focus = true this.$emit('focus', event) - if (this.placeholder && this.placeholder !== '') { - this.fillPlaceHolder = this.placeholder + if (this.placeholder && this.placeholder !== '') { } }, handleMdBlur(event) { this.focus = false - this.$emit('blur', event) - this.fillPlaceHolder = null + this.$emit('blur', event) if (this.$parent.$options.componentName === 'ElFormItem') { if (this.validateEvent) { this.$parent.$emit('el.form.blur', [this.currentValue]) diff --git a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue index f3246e2f..1bb6de67 100644 --- a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue +++ b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue @@ -6,10 +6,10 @@ - 用例编号:  {{editForm.caseId}}   模块:{{editForm.funcName}} 选择模块 + 用例编号:  {{editForm.caseId}}   模块:{{editForm.funcName}} 选择模块 - - + + {{editForm.createUsername}} 于 {{editForm.createTime}} 创建 {{editForm.tagNames?editForm.tagNames:''}}