forked from AkkomaGang/admin-fe
fix[Example]: add <el-form-item> wrapper for validate (#1428)
创建文章里js里有验证规则,但是由于少了<el-form-item>元素而不起作用。
This commit is contained in:
parent
999ea3a443
commit
c2a2fec067
1 changed files with 10 additions and 7 deletions
|
@ -60,13 +60,16 @@
|
||||||
<span v-show="contentShortLength" class="word-counter">{{ contentShortLength }}字</span>
|
<span v-show="contentShortLength" class="word-counter">{{ contentShortLength }}字</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<div class="editor-container">
|
<el-form-item prop="content">
|
||||||
<Tinymce ref="editor" :height="400" v-model="postForm.content" />
|
<div class="editor-container">
|
||||||
</div>
|
<Tinymce ref="editor" :height="400" v-model="postForm.content" />
|
||||||
|
</div>
|
||||||
<div style="margin-bottom: 20px;">
|
</el-form-item>
|
||||||
<Upload v-model="postForm.image_uri" />
|
<el-form-item prop="image_uri">
|
||||||
</div>
|
<div style="margin-bottom: 20px;">
|
||||||
|
<Upload v-model="postForm.image_uri" />
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue