From ab47f0162588eb0db6355012734f337583953333 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 14 Mar 2025 11:43:53 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/App.vue | 5 + .../assets/js/components/AuthException.vue | 69 +++++++++++ resources/assets/js/components/GuidePage.vue | 2 +- .../assets/js/components/NetworkException.vue | 6 +- resources/assets/js/functions/web.js | 28 ++--- resources/assets/js/pages/login.vue | 6 +- resources/assets/js/pages/manage.vue | 2 +- .../assets/js/pages/manage/approve/index.vue | 2 +- resources/assets/js/store/actions.js | 115 ++++++++++-------- resources/assets/js/store/state.js | 3 +- .../public/images/{ => other}/guide.png | Bin 11 files changed, 160 insertions(+), 78 deletions(-) create mode 100644 resources/assets/js/components/AuthException.vue rename resources/assets/statics/public/images/{ => other}/guide.png (100%) diff --git a/resources/assets/js/App.vue b/resources/assets/js/App.vue index 6fd607900..d5d8678ac 100755 --- a/resources/assets/js/App.vue +++ b/resources/assets/js/App.vue @@ -22,6 +22,9 @@ + + + @@ -43,6 +46,7 @@ import FloatSpinner from "./components/FloatSpinner"; import RightBottom from "./components/RightBottom"; import PreviewImageState from "./components/PreviewImage/state"; +import AuthException from "./components/AuthException"; import NetworkException from "./components/NetworkException"; import GuidePage from "./components/GuidePage"; import TaskOperation from "./pages/manage/components/TaskOperation"; @@ -56,6 +60,7 @@ export default { mixins: [ctrlPressed], components: { + AuthException, MeetingManager, DropdownMenu, TaskOperation, diff --git a/resources/assets/js/components/AuthException.vue b/resources/assets/js/components/AuthException.vue new file mode 100644 index 000000000..3c6828a61 --- /dev/null +++ b/resources/assets/js/components/AuthException.vue @@ -0,0 +1,69 @@ + + + diff --git a/resources/assets/js/components/GuidePage.vue b/resources/assets/js/components/GuidePage.vue index 8683d0242..480226fcd 100644 --- a/resources/assets/js/components/GuidePage.vue +++ b/resources/assets/js/components/GuidePage.vue @@ -19,7 +19,7 @@ export default { }, mounted() { - this.src = $.apiUrl('../images/guide.png'); + this.src = $.apiUrl('../images/other/guide.png'); }, watch: { diff --git a/resources/assets/js/components/NetworkException.vue b/resources/assets/js/components/NetworkException.vue index 11482f85a..550975ab6 100644 --- a/resources/assets/js/components/NetworkException.vue +++ b/resources/assets/js/components/NetworkException.vue @@ -8,14 +8,14 @@ v-model="show" :width="416" :closable="false" - :footer-hide="true" - class-name="common-network-exception-modal"> + :mask-closable="false" + :footer-hide="true">
{{$L('温馨提示')}}
-
{{$L('网络连接失败,请检查网络设置。')}}
+
{{ajaxNetworkException}}