Commit d5fe3d65 by wusiyi

fix: 修改富文本编辑器高度

parent 291b895c
......@@ -8,7 +8,7 @@
:defaultConfig="toolbarConfig"
:mode="mode" />
<Editor
style="height: 300px; overflow-y: hidden"
:style="{ height: height, overflowY: 'hidden' }"
v-model="html"
:defaultConfig="editorConfig"
:mode="mode"
......@@ -46,6 +46,11 @@ export default {
type: Boolean,
default: true
},
/** 编辑区高度(px) */
height: {
type: String,
default: '300px'
},
isInsert: {
type: Boolean,
default: false
......
......@@ -41,6 +41,7 @@
:title="operateType"
:visible.sync="addDialog"
width="45%"
top="2vh"
:close-on-click-modal="false">
<el-form
:model="addFormData"
......@@ -161,6 +162,7 @@
v-model="addFormData.accountInfo"
ref="wangeditor"
:editable="!isFormReadonly"
height="200px"
placeholder="请输入账户信息" />
</div>
</el-form-item>
......@@ -172,6 +174,7 @@
v-model="addFormData.remark"
ref="wangeditor2"
:editable="!isFormReadonly"
height="200px"
placeholder="请输入备注,如给客户的账户充值说明" />
</el-form-item>
</el-form>
......
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