From 6bc644a6ae26af9763a3d178afa59b875fb73c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Sat, 14 Sep 2024 20:38:37 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=87=BA?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=94=B9=E6=9C=AC=E5=9C=B0=E5=AD=98=E5=82=A8?= =?UTF-8?q?=E8=AF=BB=E5=8F=96=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _deprecated/LanLobby.vue | 12 +- src/App.vue | 18 +-- src/components/MainNav.vue | 6 +- src/components/UserInfo.vue | 30 ++-- src/main.js | 7 +- src/router/index.js | 19 +-- src/twemoji-amazing.css | 4 +- src/utils/profile.js | 5 +- src/utils/request.js | 4 +- src/utils/stores/loadFromLocal.js | 36 +++++ src/utils/stores/{store.js => userData.js} | 175 ++++++++++++++------- src/views/AddProxies.vue | 8 +- src/views/Config.vue | 6 +- src/views/Dashboard.vue | 26 +-- src/views/Donate.vue | 12 +- src/views/IcpCheck.vue | 10 +- src/views/Login.vue | 14 +- src/views/NewYear.vue | 4 +- src/views/Prize.vue | 7 +- src/views/Proxies.vue | 26 ++- src/views/RealName.vue | 12 +- src/views/Sign.vue | 6 +- 22 files changed, 271 insertions(+), 176 deletions(-) create mode 100644 src/utils/stores/loadFromLocal.js rename src/utils/stores/{store.js => userData.js} (52%) diff --git a/_deprecated/LanLobby.vue b/_deprecated/LanLobby.vue index 0a3913c..60ee2ab 100644 --- a/_deprecated/LanLobby.vue +++ b/_deprecated/LanLobby.vue @@ -203,7 +203,7 @@ diff --git a/src/views/Donate.vue b/src/views/Donate.vue index b500f77..3e4de3e 100644 --- a/src/views/Donate.vue +++ b/src/views/Donate.vue @@ -12,8 +12,8 @@ role="dialog" aria-modal="true" > - 用户名:{{ store.getters.get_username }} - 邮箱:{{ store.getters.get_email }} + 用户名:{{ userData.getters.get_username }} + 邮箱:{{ userData.getters.get_email }} 商品名:{{ trade_info.trade_name }} 捐赠订单号:{{ trade_no }} 捐赠方式:{{ trade_info.type }} @@ -129,7 +129,7 @@