|
@@ -81,6 +81,7 @@
|
|
|
reserve-keyword
|
|
|
:remote-method="fetchQueryKeywordList"
|
|
|
:loading="remoteLoading"
|
|
|
+ @visible-change="changeVisible"
|
|
|
>
|
|
|
<el-option v-for="item in labelList" :key="item.id" :label="item.keyword" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
@@ -102,13 +103,13 @@
|
|
|
</el-form-item>
|
|
|
<!-- 文章内容 -->
|
|
|
<el-form-item label="文章内容" prop="articleContent" class="mint-filter">
|
|
|
- <el-input v-model="formData.articleContent" v-show="false" @focus="onFocused" @blur="onBlured"></el-input>
|
|
|
- <editor v-model="formData.articleContent" placeholder="请输入文章内容" @focus="onFocused" @blur="onBlured"></editor>
|
|
|
+ <el-input v-model="formData.articleContent" v-show="false"></el-input>
|
|
|
+ <editor v-model="formData.articleContent" placeholder="请输入文章内容" @click.native="onFocused"></editor>
|
|
|
<div class="mint-message" v-if="formValidate.articleContent">{{formValidate.articleContent}}</div>
|
|
|
</el-form-item>
|
|
|
<!-- 文章分类 -->
|
|
|
<el-form-item label="文章分类" prop="typeId">
|
|
|
- <el-select v-model="formData.typeId" class="max-width" @change="handlerTypeId">
|
|
|
+ <el-select v-model="formData.typeId" class="max-width" @change="handlerTypeId" @click.native="onFocused">
|
|
|
<template v-for="(typeInfo, index) in articleTypeList">
|
|
|
<el-option :label="typeInfo.typeName" :value="typeInfo.typeId" :key="typeInfo.typeId"></el-option>
|
|
|
</template>
|
|
@@ -125,6 +126,7 @@
|
|
|
:on-remove="handleImageRemove"
|
|
|
:file-list="articleImageList"
|
|
|
:limit="1"
|
|
|
+ @click.native="onFocused"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
<div slot="tip" class="el-upload__tip">建议图片尺寸210px*210px,并上传白底图片</div>
|