优化:修改分类、标签时的交互体验
This commit is contained in:
parent
f6ab0ea136
commit
2d4c7837b1
@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="container" v-wechat-title="title">
|
<div class="container" v-wechat-title="title">
|
||||||
<el-dialog class="dialog-cm" :title="dialogTitle" :visible.sync="dialogVisible">
|
<el-dialog class="dialog-cm" :title="dialogTitle" :close-on-click-modal="false" :visible.sync="dialogVisible">
|
||||||
<el-form ref="managerForm" :model="form" label-position="left" :rules="rules" label-width="85px">
|
<el-form ref="managerForm" :model="form" label-position="left" :rules="rules" label-width="85px">
|
||||||
<el-form-item label="分类名称" prop="name">
|
<el-form-item label="分类名称" prop="name">
|
||||||
<el-input v-model="form.name" style="width: 100%;"/>
|
<el-input v-model="form.name" style="width: 100%;"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="分类缩略名" prop="thumbnailName">
|
<el-form-item label="分类缩略名" prop="slug">
|
||||||
<el-input v-model="form.thumbnailName" style="width: 100%;"/>
|
<el-input v-model="form.slug" style="width: 100%;"/>
|
||||||
<div class="instruction">分类缩略名用于创建友好的链接形式.</div>
|
<div class="instruction">分类缩略名用于创建友好的链接形式.</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="父级分类" prop="parentCategoryId">
|
<el-form-item label="父级分类" prop="parentCategoryId">
|
||||||
@ -77,7 +77,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="thumbnailName"
|
prop="slug"
|
||||||
label="缩略名">
|
label="缩略名">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@ -121,7 +121,7 @@ export default {
|
|||||||
parentCategoryId: undefined,
|
parentCategoryId: undefined,
|
||||||
form: {
|
form: {
|
||||||
name: '',
|
name: '',
|
||||||
thumbnailName: '',
|
slug: '',
|
||||||
parentCategoryId: '',
|
parentCategoryId: '',
|
||||||
desc: '',
|
desc: '',
|
||||||
categoryBackground: ''
|
categoryBackground: ''
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="container" v-wechat-title="title">
|
<div class="container" v-wechat-title="title">
|
||||||
<el-dialog class="dialog-cm" :title="dialogTitle" :visible.sync="dialogVisible">
|
<el-dialog class="dialog-cm" :title="dialogTitle" :close-on-click-modal="false" :visible.sync="dialogVisible">
|
||||||
<el-form ref="managerForm" :model="form" label-position="left" :rules="rules" label-width="85px">
|
<el-form ref="managerForm" :model="form" label-position="left" :rules="rules" label-width="85px">
|
||||||
<el-form-item label="标签名称" prop="name">
|
<el-form-item label="标签名称" prop="name">
|
||||||
<el-input v-model="form.name" style="width: 100%;"/>
|
<el-input v-model="form.name" style="width: 100%;"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user