From 8512f4ae542325e15058c9fabb019db6ef1000ef Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 17 九月 2021 15:13:33 +0800
Subject: [PATCH] 添加i18n国际化

---
 src/components/licence/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/licence/index.vue b/src/components/licence/index.vue
index 3bb0a6e..fc05242 100644
--- a/src/components/licence/index.vue
+++ b/src/components/licence/index.vue
@@ -177,7 +177,7 @@
       if (rsp && rsp.success) {
         if (rsp.data.License.Expires === 0) {
           this.authStatus = 'unregistered'
-          this.tip = '鏈巿鏉�, 鐐瑰嚮娉ㄥ唽'
+          this.tip = this.$t('licence.register')
         } else {
           this.authStatus = 'registered'
           this.registe.company = rsp.data.License.RegCode.Company
@@ -187,9 +187,9 @@
           this.expireTime = rsp.data.License.Expires
           this.expired = rsp.data.Expired
           if (this.expired) {
-            this.tip = '鎺堟潈宸茶繃鏈�'
+            this.tip = this.$t('licence.expired')
           } else {
-            this.tip = '宸叉巿鏉�'
+            this.tip = this.$t('licence.authorized')
           }
         }
       }

--
Gitblit v1.8.0