fix(测试跟踪): 富文本框自定义字段非空校验不准确
--bug=1016851 --user=陈建星 【项目设置】接口模版,富文本框设置必填后,填写内容再删除,保存没提示必填 https://www.tapd.cn/55049933/s/1248374
This commit is contained in:
parent
cf1f36e7ee
commit
95ba7eff73
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<mavon-editor :id="id" :editable="!disabled" @imgAdd="imgAdd" :default-open="defaultOpenValue"
|
<mavon-editor :id="id" :editable="!disabled" @imgAdd="imgAdd" :default-open="defaultOpenValue"
|
||||||
:xss-options="xssOptions" :style="{'min-height': customMinHeight + 'px', 'min-width': '100px'}"
|
:xss-options="xssOptions" :style="{'min-height': customMinHeight + 'px', 'min-width': '100px'}"
|
||||||
@change="$emit('change')"
|
@change="change"
|
||||||
:subfield="false" :toolbars="toolbars" :language="language" :toolbarsFlag="!disabled"
|
:subfield="false" :toolbars="toolbars" :language="language" :toolbarsFlag="!disabled"
|
||||||
@imgDel="imgDel" v-model="data[prop]" ref="md"/>
|
@imgDel="imgDel" v-model="data[prop]" ref="md"/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -202,6 +202,11 @@ export default {
|
||||||
},
|
},
|
||||||
toolbar_left_click(param) {
|
toolbar_left_click(param) {
|
||||||
this.$refs.md.toolbar_left_click(param);
|
this.$refs.md.toolbar_left_click(param);
|
||||||
|
},
|
||||||
|
change() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$emit('change');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue