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()