出版社字段

master
yujialong 2 years ago
parent 26f93ef2e0
commit 0d2eeac823
  1. 6
      src/pages/article/add/index.vue

@ -2,7 +2,7 @@
<div class="page"> <div class="page">
<p class="page-name mb">文章详情</p> <p class="page-name mb">文章详情</p>
<el-form :model="form" :rules="rules" class="input-form model" label-width="140px"> <el-form :model="form" :rules="rules" class="input-form model" label-width="140px">
<el-form-item class="lg" prop="articleTemplate" label="独立文章模板"> <el-form-item v-if="!isPublication" class="lg" prop="articleTemplate" label="独立文章模板">
<el-popover <el-popover
placement="top-start" placement="top-start"
trigger="hover" trigger="hover"
@ -211,7 +211,9 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
</template> </template>
<!-- 非出版物的才显示下面字段 --> <el-form-item v-if="isPublication" prop="mainBody" label="正文">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" />
</el-form-item>
<div v-else-if="!isPublication" class="item-line"> <div v-else-if="!isPublication" class="item-line">
<el-form-item prop="source" label="来源"> <el-form-item prop="source" label="来源">
<el-input <el-input

Loading…
Cancel
Save