Browse Source

富文本段首缩进

master
yujintao 5 years ago
parent
commit
9931f3ec67
  1. 10
      src/views/modules/heart/actinfo-add-or-update.vue

10
src/views/modules/heart/actinfo-add-or-update.vue

@ -248,7 +248,7 @@
label="活动内容:">
<div style="width:1000px">
<!-- 富文本编辑器, 容器 -->
<div id="J_quillEditor"></div>
<div id="J_quillEditor" class="ql-editor"></div>
<!-- 自定义上传图片功能 (使用element upload组件) -->
<el-upload :action="uploadUrl"
:show-file-list="false"
@ -550,7 +550,7 @@ export default {
this.dataForm.signinStartTime = this.dataForm.actStartTime
},
changeHandler (value) {
if (value == 1) {
if (value === 1) {
this.isImgRequired = true
} else {
this.isImgRequired = false
@ -571,7 +571,7 @@ export default {
})
},
position (position) {
if (position.type == 1) {
if (position.type === 1) {
this.dataForm.actAddress = position.address
this.dataForm.actLatitude = position.latitude
this.dataForm.actLongitude = position.longitude
@ -653,7 +653,7 @@ export default {
if ((this.dataForm.actContent).length > 10000) {
return this.$message.error('您输入的的内容已超过字数')
}
if (this.dataForm.isActQuota == 0) {
if (this.dataForm.isActQuota === 0) {
this.dataForm.actQuota = 0
}
this.$refs['dataForm'].validate((valid) => {
@ -881,4 +881,4 @@ export default {
}
}
}
</style>
</style>

Loading…
Cancel
Save