|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<div class="editor">
|
|
|
- <el-input show-word-limit v-model="title" class="title" placeholder="请输入文章标题" :maxlength="60"></el-input>
|
|
|
+ <el-input show-word-limit v-model="title" class="title" placeholder="请输入文章标题" :maxlength="64"></el-input>
|
|
|
<editor placeholder="支持富文本、支持超链接、插入图片、插入视频,最少100字符,最多10000字符" :content="content" @change="handleChange"></editor>
|
|
|
- <h5 class="label">封面图</h5>
|
|
|
+ <h5 class="label">封面图(选填)</h5>
|
|
|
|
|
|
<div class="uploadInfo">
|
|
|
<div class="left">
|
|
|
@@ -138,8 +138,8 @@ export default {
|
|
|
this.$message.error("文章标题不可少于2字符");
|
|
|
return;
|
|
|
}
|
|
|
- if (this.title.length > 60) {
|
|
|
- this.$message.error("文章标题不可超过60字符,请删减");
|
|
|
+ if (this.title.length > 64) {
|
|
|
+ this.$message.error("文章标题不可超过64字符,请删减");
|
|
|
return;
|
|
|
}
|
|
|
|