Commit 17f5cce8 authored by zhengke's avatar zhengke

修改

parent 4d882257
......@@ -9,7 +9,7 @@
<div class="row wrap">
<q-input filled stack-label style="float:left;" maxlength="200" :dense="false" v-model="objOption.Title"
ref="Title" class="col-12 q-pb-lg" label="标题" :rules="[val => !!val || '请填写新闻标题']" />
<q-input v-model="objOption.Content" class="col-12 q-pb-lg" filled type="textarea" placeholder="内容" />
<UeEditor style="width:100%;margin-bottom:20px;" v-model="objOption.Content" :config="config" ref="UE_Title"></UeEditor>
</div>
<div class="row wrap" style="align-items:end;">
<q-select option-value="Id" option-label="TypeName" standout="bg-primary text-white"
......@@ -40,7 +40,11 @@
import {
UploadSelfFile
} from "../../api/common/common";
import UeEditor from '../editor/UeEditor'
export default {
components: {
UeEditor
},
props: {
saveObj: {
type: Object,
......@@ -49,6 +53,10 @@
},
data() {
return {
config: {
initialFrameWidth: null,
initialFrameHeight: 80,
},
persistent: true,
objOption: {
Id: 0,
......
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