From 4c6f9367c240b908d745a92dc1b35d6c22f467ba Mon Sep 17 00:00:00 2001 From: xieyi Date: Tue, 7 Mar 2023 14:19:15 +0800 Subject: [PATCH] Update year --- web/src/components/Home.vue | 5 +++-- web/src/components/footHome.vue | 5 +++-- web/src/lang/cn.js | 2 +- web/src/lang/en.js | 2 +- web/src/main.js | 2 +- web/src/views/apiKey/index.vue | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/web/src/components/Home.vue b/web/src/components/Home.vue index cf51b0db6..1e955624b 100644 --- a/web/src/components/Home.vue +++ b/web/src/components/Home.vue @@ -21,7 +21,7 @@
- © 2022 FilSwan + © {{fullYear}} FilSwan filswan.com @@ -62,7 +62,8 @@ export default { networkTip: false, dialogFormVisible: false, typeName: 'emailLogin', - changeTitle: '' + changeTitle: '', + fullYear: new Date().getFullYear() } }, components: { diff --git a/web/src/components/footHome.vue b/web/src/components/footHome.vue index ff3bb1b55..bff205120 100644 --- a/web/src/components/footHome.vue +++ b/web/src/components/footHome.vue @@ -15,7 +15,7 @@
-

{{$t('footer.copy')}}

+

© {{fullYear}}{{$t('footer.copy')}}

@@ -34,7 +34,8 @@ export default { share_telegram: require('@/assets/images/landing/telegram.png'), share_discord: require('@/assets/images/landing/discord.png'), ComingSoon: false, - typeName: 'comingSoon' + typeName: 'comingSoon', + fullYear: new Date().getFullYear() } }, components: { diff --git a/web/src/lang/cn.js b/web/src/lang/cn.js index 40fb5fe5f..2ea6c4e3c 100644 --- a/web/src/lang/cn.js +++ b/web/src/lang/cn.js @@ -689,7 +689,7 @@ export default { Developer_Quick_Start: '开发人员快速入门', FAQ: '常见问题解答', Get_Help: '获取帮助', - copy: '© 2022 MULTICHAIN.STORAGE. ALL RIGHTS RESERVED.' + copy: ' MULTICHAIN.STORAGE. ALL RIGHTS RESERVED.' }, metaSpace: { home_title: '多链存储', diff --git a/web/src/lang/en.js b/web/src/lang/en.js index aae6852d5..3f8b40b7d 100644 --- a/web/src/lang/en.js +++ b/web/src/lang/en.js @@ -683,7 +683,7 @@ export default { Developer_Quick_Start: 'Developer Quick Start', FAQ: 'FAQ', Get_Help: 'Get Help', - copy: '© 2022 MULTICHAIN.STORAGE. ALL RIGHTS RESERVED.' + copy: ' MULTICHAIN.STORAGE. ALL RIGHTS RESERVED.' }, metaSpace: { home_title: 'Multichain.Storage', diff --git a/web/src/main.js b/web/src/main.js index 91ed8f28c..6dd8f8640 100644 --- a/web/src/main.js +++ b/web/src/main.js @@ -49,7 +49,7 @@ Vue.prototype.baseAPIURL = netData === 80001 ? process.env.BASE_PAYMENT_GATEWAY_ Vue.prototype.baseAddressURL = netData === 80001 ? process.env.BASE_MUMBAI_ADDRESS : process.env.BASE_POLYGON_ADDRESS Vue.prototype.Web3 = Web3 Vue.prototype.baseNetwork = process.env.BASE_ENV === true -console.log('update time: 2022-3-2', 'env:', process.env.BASE_ENV === true ? 'Main' : 'Cali', process.env.BASE_ENV) +console.log('update time: 2023-3-7', 'env:', process.env.BASE_ENV === true ? 'Main' : 'Cali', process.env.BASE_ENV) router.beforeEach((to, from, next) => { if (to.matched.some(record => record.meta.requiresAuth)) { if (!sessionStorage.getItem('metaAddress')) { diff --git a/web/src/views/apiKey/index.vue b/web/src/views/apiKey/index.vue index 6d9cad523..94b943beb 100644 --- a/web/src/views/apiKey/index.vue +++ b/web/src/views/apiKey/index.vue @@ -100,7 +100,7 @@

{{$t('my_profile.apiKey_your_Domain')}}

-
+