diff --git a/src/components/async-error/index.vue b/src/components/async-error/index.vue index a23dd6d..980234d 100644 --- a/src/components/async-error/index.vue +++ b/src/components/async-error/index.vue @@ -1,79 +1,89 @@ + + + + + + + + 您的网络好像波动了一下~ + + + 重新加载 + + + + - - - 加载中 - - - - - - - - - - diff --git a/src/components/async-loading/index.vue b/src/components/async-loading/index.vue index 5bb623b..803f092 100644 --- a/src/components/async-loading/index.vue +++ b/src/components/async-loading/index.vue @@ -22,6 +22,9 @@ import { computed } from 'vue'; align-items: center; justify-content: center; height: 100vh; + background-image: url('@/static/image/clockIn/z3280@3x.png'); + background-size: cover; + background-position: bottom center; } .heading { diff --git a/src/main.js b/src/main.js index e4cf021..fae97a9 100644 --- a/src/main.js +++ b/src/main.js @@ -90,6 +90,11 @@ export function createApp() { useUserStore().loadSetting() } + //处理OA、墨册强制刷新时,聊天同步强制刷新 + window.doLocationRefresh = () => { + location.reload(true) + } + window.message = ['success', 'error', 'warning'].reduce((acc, type) => { acc[type] = (message) => { if (typeof message === 'string') { diff --git a/src/pages/chatSettings/index.vue b/src/pages/chatSettings/index.vue index ebecaf1..a1492ca 100644 --- a/src/pages/chatSettings/index.vue +++ b/src/pages/chatSettings/index.vue @@ -140,6 +140,20 @@ > +
加载中