Commit 17f5cce8 authored by zhengke's avatar zhengke

修改

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