|
@@ -7,8 +7,7 @@
|
|
|
<uni-easyinput v-model="customFormData.titleName" placeholder="请输入标题" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="正文" required name="textDetails">
|
|
|
- <!-- <uni-easyinput v-model="customFormData.textDetails" placeholder="请输入正文" /> -->
|
|
|
- <mp-html :content="html" />
|
|
|
+ <uni-easyinput v-model="customFormData.textDetails" placeholder="请输入正文" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="图片" required name="url">
|
|
|
<upload :imgArr="imgUrlList" :fileSize="1" :limit="3" @updateImg="updateImg" />
|
|
@@ -30,11 +29,9 @@
|
|
|
addKnowledge
|
|
|
} from "@/api/knowledge/knowledge";
|
|
|
import upload from '../../components/upload/index.vue'
|
|
|
- import mpHtml from '@/uni_modules/mp-html/components/mp-html/mp-html.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
- upload,
|
|
|
- mpHtml
|
|
|
+ upload
|
|
|
},
|
|
|
data() {
|
|
|
return {
|