添加新闻公告

master
yujialong 2 years ago
parent abc4b96c3e
commit f396b248be
  1. BIN
      src/assets/images/style/55.png
  2. 5
      src/pages/column/add/index.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 KiB

@ -493,11 +493,12 @@ export default {
},
// id
getStyle(set = 1) {
this.$post(`${this.api.theTemplateIdGetsTheStyle}?templateId=${this.form.templateId}`).then(({ data }) => {
const { templateId } = this.form
this.$post(`${this.api.theTemplateIdGetsTheStyle}?templateId=${templateId}`).then(({ data }) => {
this.listStyle = data.listingTemplateTypes
this.detailStyleId = data.detailsTypeOfTheTemplate
if (set) {
this.form.listStyleId = this.listStyle[1].id
this.form.listStyleId = this.listStyle[templateId === 1 ? 1 : 0].id
this.form.detailStyleId = this.detailStyleId[0].id
}
}).catch(err => {})

Loading…
Cancel
Save