Commit 26822133 authored by Smile's avatar Smile Committed by wux

fix:控货转移权多语言修改

parent d0ba5131
...@@ -21,13 +21,8 @@ ...@@ -21,13 +21,8 @@
let that = this let that = this
that.$request.get('/app-api/system/need-know/getByKey',{key:'controltransfer'}).then(res => { that.$request.get('/app-api/system/need-know/getByKey',{key:'controltransfer'}).then(res => {
if(res.code == 0 && res.data){ if(res.code == 0 && res.data){
if(that.$lang.locale=='zh'){ that.title=res.data[this.$lang.title]
that.title = res.data.titleZh that.leviteInfo=res.data[this.$lang.content]
that.leviteInfo = res.data.contentZh
}else{
that.title = res.data.titleEn
that.leviteInfo = res.data.contentEn
}
} }
}) })
}, },
...@@ -35,6 +30,8 @@ ...@@ -35,6 +30,8 @@
} }
</script> </script>
<style> <style scoped>
.ql-align-center{
text-align: center;
}
</style> </style>
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