yujialong 2 years ago
parent b722f938f8
commit b2dc8250e3
  1. 9
      src/pages/article/add/index.vue

@ -194,7 +194,7 @@
<template v-if="form.articleTemplate === 25">
<div class="item-line">
<el-form-item prop="classificationId" label="所属分类">
<el-select style="width: 234px;" v-model="form.classificationId">
<el-select style="width: 234px;" v-model="form.classificationId" clearable>
<template v-for="item in classifications">
<el-option
v-if="item.classificationName"
@ -237,7 +237,7 @@
<div v-if="form.articleTemplate === 22 || form.articleTemplate === 23" class="item-line">
<el-form-item prop="source" label="所属分类">
<el-select style="width: 234px;" v-model="form.classificationId">
<el-select style="width: 234px;" v-model="form.classificationId" clearable>
<template v-for="item in classifications">
<el-option
v-if="item.id"
@ -696,7 +696,8 @@ export default {
route: '/article'
},
{
name: this.$route.query.columnName
name: this.$route.query.columnName,
route: '/article'
},
{
name: this.$route.query.id ? '编辑' : '新增'
@ -711,8 +712,6 @@ export default {
//
getList() {
this.$post(this.api.listWithTree, {
siteId: this.site.id,
columnName: '',
templateId: '',

Loading…
Cancel
Save