|
@@ -7,9 +7,9 @@
|
|
|
<uni-easyinput v-model="customFormData.titleName" placeholder="请输入标题" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="正文" required name="textDetails">
|
|
|
- <!-- <uni-easyinput v-model="customFormData.textDetails" placeholder="请输入正文" /> -->
|
|
|
- <piaoyiEditor :maxlength="30000" @changes="saveContens" :readOnly="readOnly" :photoUrl="photoUrl"
|
|
|
- :api="api" :name="name" />
|
|
|
+ <uni-easyinput type="textarea" v-model="customFormData.textDetails" placeholder="请输入正文" />
|
|
|
+ <!-- <piaoyiEditor :maxlength="30000" @changes="saveContens" :readOnly="readOnly" :photoUrl="photoUrl"
|
|
|
+ :api="api" :name="name" /> -->
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="图片" required name="url">
|
|
|
<upload :imgArr="imgUrlList" :fileSize="1" :limit="3" @updateImg="updateImg" />
|
|
@@ -40,8 +40,8 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- api: config.baseUrl + `/common/upload`,
|
|
|
- // photoUrl: config.baseUrl,
|
|
|
+ api: `/common/upload`,
|
|
|
+ photoUrl: config.baseUrl,
|
|
|
readOnly: false,
|
|
|
// 基础表单数据
|
|
|
baseFormData: {
|