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