zhouwenxuan
2024-03-05 10208e6f2c2cf32e3e420651872e7d7c3b8c90bb
src/utils/request.js
@@ -81,7 +81,9 @@
        MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => {
          isRelogin.show = false;
          store.dispatch('LogOut').then(() => {
            location.href = '/index';
            // location.href = '/index';
            let indexUrl = this.$store.state.permission.indexPage
            location.href = indexUrl;
          })
      }).catch(() => {
        isRelogin.show = false;