Commit 13598193 authored by Smile's avatar Smile

bug234 (生产)【运营-轮播广告】新增/修改功能缺少“法文标题”、“法文内容”输入项

parent 1faa0ab0
......@@ -307,6 +307,7 @@
"中文内容": "Chinese content",
"请输入中文内容": "Please enter Chinese content",
"英文内容": "English content",
"法文内容": "French content",
"请输入英文内容": "Please enter English content",
"提交": "submit",
"关闭": "closure",
......
......@@ -98,13 +98,13 @@
<el-form-item :label="$t('法文标题')" prop="titleFr">
<el-input v-model="form.titleFr" :placeholder="$t('请输入法文标题')" />
</el-form-item>
<el-form-item :label="$t('中文内容')" prop="contentZh">
<el-form-item :label="$t('中文内容')" :key="this.isChinese" prop="contentZh">
<editor v-model="form.contentZh" :min-height="150"/>
</el-form-item>
<el-form-item :label="$t('英文内容')" prop="contentEn">
<el-form-item :label="$t('英文内容')" :key="this.isChinese" prop="contentEn">
<editor v-model="form.contentEn" :min-height="150"/>
</el-form-item>
<el-form-item :label="$t('法文内容')" prop="contentFr">
<el-form-item :label="$t('法文内容')" :key="this.isChinese" prop="contentFr">
<editor v-model="form.contentFr" :min-height="150"/>
</el-form-item>
<el-form-item :label="$t('WEB端广告图片(建议尺寸长*宽')+'1120*450)'" prop="bannerUrlWeb">
......@@ -199,6 +199,9 @@ export default {
},
computed: {
isChinese() {
return this.$i18n.locale === "zh_CN";
},
statusName() {
return value => {
for(let index in this.statusDictDatas) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment