Commit c4814471 by 潘际乾

XmlFormatEditor

parent 0b653a50
...@@ -19,7 +19,6 @@ export default { ...@@ -19,7 +19,6 @@ export default {
}; };
}, },
watch: { watch: {
<<<<<<< HEAD
model: function (newVal, oldVal) { model: function (newVal, oldVal) {
this.updateValue(); this.updateValue();
}, },
...@@ -41,24 +40,6 @@ export default { ...@@ -41,24 +40,6 @@ export default {
this.$refs.editor.quill.enable(enabled); this.$refs.editor.quill.enable(enabled);
} }
}); });
=======
model: {
handler: function (newVal, oldVal) {
let rows = this.model["rows"] || [];
let enabled = false;
if (this.$refs.editor.quill) {
enabled = this.$refs.editor.quill.isEnabled();
this.$refs.editor.quill.enable(false);
}
this.value = this.show(rows);
this.$nextTick(() => {
if (this.$refs.editor.quill) {
this.$refs.editor.quill.enable(enabled);
}
});
},
immediate: true
>>>>>>> d40f2617f923aea5c856138450c663c2d8a2e631
}, },
// 修改文本后的失去焦点事件 // 修改文本后的失去焦点事件
blurEvent(quill) { blurEvent(quill) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment