|
|
|
@ -62,7 +62,8 @@ |
|
|
|
prop="newsTitle"> |
|
|
|
<el-input v-model="dataForm.newsTitle" |
|
|
|
type="text" |
|
|
|
maxlength="30" |
|
|
|
maxlength="50" |
|
|
|
show-word-limit |
|
|
|
placeholder="请输入标题" |
|
|
|
clearable |
|
|
|
style="width:500px"> |
|
|
|
@ -282,6 +283,7 @@ export default { |
|
|
|
}, |
|
|
|
theme: 'snow' |
|
|
|
}) |
|
|
|
this.quillEditor.container.style.height = `${300}px` |
|
|
|
// // 自定义上传图片功能 (使用element upload组件) |
|
|
|
this.quillEditor.getModule('toolbar').addHandler('image', () => { |
|
|
|
this.$refs.uploadBtn.$el.click() |
|
|
|
|