Commit 30e5fb15 authored by Smile's avatar Smile Committed by wux

app注册页面用户协议法文多语言修改

parent 8ff23e3f
...@@ -32,11 +32,7 @@ ...@@ -32,11 +32,7 @@
let that = this let that = this
that.$request.get('/app-api/system/need-know/getByKey',{key:'5'}).then(res => { that.$request.get('/app-api/system/need-know/getByKey',{key:'5'}).then(res => {
if(res.code == 0 && res.data){ if(res.code == 0 && res.data){
if(that.$lang.locale=='zh'){ that.leviteInfo = res.data[that.$lang.content]
that.leviteInfo = res.data.contentZh
}else{
that.leviteInfo = res.data.contentEn
}
} }
}) })
}, },
...@@ -48,7 +44,7 @@ ...@@ -48,7 +44,7 @@
</script> </script>
<style scoped> <style scoped>
.lending_content{ .lending_content{
width: 520upx; width: 520upx;
padding: 40upx; padding: 40upx;
......
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