瀏覽代碼

修改请求

zhaoke 3 年之前
父節點
當前提交
8dabadf199
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -104,6 +104,7 @@ service.interceptors.response.use(
         type: 'error',
         duration: 5 * 1000,
         onClose: () => {
+          store.dispatch("app/toggleDialog", false)
           store.dispatch('tagsView/delAllViews').then(() => { })
           store.dispatch('user/resetToken').then(() => {
             location.reload()