cms 文章内容样式修改 8.21

dev_2307
zhc077 1 year ago
parent 558ccc423a
commit 5c14d1725b
  1. 28
      ant-design-vue-jeecg/src/views/cms/admin/CmsArticleList.vue
  2. 12
      ant-design-vue-jeecg/src/views/cms/admin/modules/CmsArticleForm.vue

@ -166,9 +166,9 @@ export default {
// this.loadData();
// },
computed: {
importExcelUrl: function () {
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
// importExcelUrl: function () {
// return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
// },
},
methods: {
@ -190,17 +190,17 @@ export default {
})
},
initDictConfig() {
},
getSuperFieldList() {
let fieldList = [];
fieldList.push({type: 'string', value: 'title', text: '文章标题', dictCode: ''})
fieldList.push({type: 'string', value: 'status', text: '状态', dictCode: ''})
fieldList.push({type: 'string', value: 'columnId', text: '所属栏目', dictCode: ''})
fieldList.push({type: 'string', value: 'columnName', text: '栏目', dictCode: ''})
fieldList.push({type: 'string', value: 'source', text: '来源', dictCode: ''})
this.superFieldList = fieldList
}
// initDictConfig() {
// },
// getSuperFieldList() {
// let fieldList = [];
// fieldList.push({type: 'string', value: 'title', text: '', dictCode: ''})
// fieldList.push({type: 'string', value: 'status', text: '', dictCode: ''})
// fieldList.push({type: 'string', value: 'columnId', text: '', dictCode: ''})
// fieldList.push({type: 'string', value: 'columnName', text: '', dictCode: ''})
// fieldList.push({type: 'string', value: 'source', text: '', dictCode: ''})
// this.superFieldList = fieldList
// }
}
}
</script>

@ -24,13 +24,11 @@
<a-input v-model="model.source" placeholder="请输入来源"></a-input>
</a-form-model-item>
</a-col>
<a-row>
<a-col :span="24">
<a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
<j-editor v-model="model.content"/>
</a-form-model-item>
</a-col>
</a-row>
<a-col :span="24">
<a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
<j-editor style="width: 250%;" v-model="model.content" />
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</j-form-container>

Loading…
Cancel
Save