You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
export default {
|
|
computed: {
|
|
// 获取全局配置的文本
|
|
configParamText() {
|
|
return key => this.$store.state.configList[key].paramText || '默认文本'
|
|
},
|
|
// 获取全局配置的图片
|
|
configParamImage() {
|
|
return key => this.$store.state.configList[key].paramImage || '/static/默认图片.png'
|
|
},
|
|
// 获取全局配置的富文本
|
|
configParamTextarea() {
|
|
return key => this.$store.state.configList[key].paramTextarea || '默认富文本'
|
|
}
|
|
}
|
|
}
|