From df0308a93a67546af71808da0d290d0fbf2bf78d Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 21 Jul 2021 16:02:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9=20=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AF=AD=E8=A8=80=E4=B8=BA=E4=B8=AD=E6=96=87=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=AF=B9=E5=BA=94?= =?UTF-8?q?value=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/rightBox/settings/UserBox.vue | 2 +- src/utils/api.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/rightBox/settings/UserBox.vue b/src/components/rightBox/settings/UserBox.vue index 31241efb..93da1f3e 100644 --- a/src/components/rightBox/settings/UserBox.vue +++ b/src/components/rightBox/settings/UserBox.vue @@ -67,7 +67,7 @@ -
{{editObject.createAt}}
+
{{editObject.ctime}}
diff --git a/src/utils/api.js b/src/utils/api.js index 652bd715..1f2870f8 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -123,6 +123,7 @@ export async function getI18n () { const langs = dictData.map(d => d.value).join(',') const request = new Promise(resolve => { get(api.i18n, { l: langs }).then(response => { + response.data.cn = response.data.zh resolve(response.data) }) })