Commit 0d62ab88 authored by 王康's avatar 王康

f

parent e3ca3004
......@@ -80,13 +80,13 @@
</el-checkbox-group>
<!-- 6 富文本 -->
<quill-editor v-else-if="column.widgetType === 5"
:ref="column.ref || ''" :disabled="column.disabled"
:ref="column.ref || 'textEditor'" :disabled="column.disabled"
v-model="formModel[column.codeCamel]"
:style="formStyle && formStyle.quillEditor && formStyle.quillEditor.style || {width:'65%'}"
:options="editorOption"
@blur="onEditorBlur($event)"
@focus="onEditorFocus($event)"
@change="column.change && column.change($event)"
@change="(column.change && column.change($event)) || onEditorChange"
@ready="onEditorReady($event)">
</quill-editor>
<!-- 7 单选框 -->
......@@ -533,12 +533,12 @@
// textareaChange(val) {
// console.log(val)
// },
// onEditorChange({ quill, html, text }) {
// console.log(quill)
// console.log(html)
// console.log(text)
// // this.content = html
// },
onEditorChange({ quill, html, text }) {
console.log(quill)
console.log(html)
console.log(text)
// this.content = html
},
onEditorBlur(val) {
// console.log(val)
},
......
......@@ -572,10 +572,6 @@
} else {
self.list = resp.data
}
// 数据库字段转化显示
if (self.options && self.options.changeValue) {
self.list = self.changeValue(self.list)
}
// 数据处理
if (self.options && self.options.dataProcessing) {
......@@ -587,6 +583,12 @@
self.list = dataList
})
}
// 数据库字段转化显示
if (self.options && self.options.changeValue) {
self.list = self.changeValue(self.list)
}
self.total = parseInt(resp.headers.total)
self.listLoading = false
})
......
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