Kaynağa Gözat

feat: 变更文件

sunxiao 4 ay önce
ebeveyn
işleme
39d68a8f33

Dosya farkı çok büyük olduğundan ihmal edildi
+ 3 - 3
hs-cti.es6.umd.prod.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 3 - 3
public/hs-cti.es6.umd.prod.js


+ 6 - 1
src/utils/request.js

@@ -6,6 +6,7 @@ import { tansParams, blobValidate } from '@/utils/ruoyi'
 import cache from '@/plugins/cache'
 import { saveAs } from 'file-saver'
 import useUserStore from '@/store/modules/user'
+import useVoiceStore from "@/store/modules/voice";
 
 let downloadLoadingInstance;
 // 是否显示重新登录
@@ -84,7 +85,11 @@ service.interceptors.response.use(res => {
     if (code === 401) {
       if (!isRelogin.show) {
         isRelogin.show = true;
-        ElMessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => {
+        ElMessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(async () => {
+          const voiceStore = useVoiceStore();
+          if ( voiceStore.isAuthPane ) {
+            await voiceStore.unInit();
+          }
           isRelogin.show = false;
           useUserStore().logOut().then(() => {
             location.href = '/index';

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor