From 962f90de445d7935ad76ea7b74a98f12ce9a7498 Mon Sep 17 00:00:00 2001
From: vben <anncwb@126.com>
Date: 星期二, 01 十二月 2020 23:51:39 +0800
Subject: [PATCH] feat: support vscode i18n-ally plugin

---
 src/store/modules/user.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 048d0a7..2f36118 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -143,11 +143,11 @@
   @Action
   async confirmLoginOut() {
     const { createConfirm } = useMessage();
-    const { t } = useI18n('sys.app');
+    const { t } = useI18n();
     createConfirm({
       iconType: 'warning',
-      title: t('loginOutTip'),
-      content: t('loginOutMessage'),
+      title: t('sys.app.loginOutTip'),
+      content: t('sys.app.loginOutMessage'),
       onOk: async () => {
         await this.loginOut(true);
       },

--
Gitblit v1.8.0