Showing
1 changed file
with
3 additions
and
2 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2023-10-27 11:12:24 | 2 | * @Date: 2023-10-27 11:12:24 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-04 10:24:48 | 4 | + * @LastEditTime: 2023-12-04 10:32:23 |
| 5 | * @FilePath: /vue-flow-editor/doc/axios.js | 5 | * @FilePath: /vue-flow-editor/doc/axios.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -63,10 +63,11 @@ axios.interceptors.response.use( | ... | @@ -63,10 +63,11 @@ axios.interceptors.response.use( |
| 63 | // | 63 | // |
| 64 | ElMessageBox.alert('登录失效!将跳转到登录页面。', '温馨提示', { | 64 | ElMessageBox.alert('登录失效!将跳转到登录页面。', '温馨提示', { |
| 65 | confirmButtonText: '确定', | 65 | confirmButtonText: '确定', |
| 66 | + showClose: false, | ||
| 66 | callback: action => { | 67 | callback: action => { |
| 67 | // session 失效需要重新登录 | 68 | // session 失效需要重新登录 |
| 68 | if (action === 'confirm') { | 69 | if (action === 'confirm') { |
| 69 | - localStorage.setItem('showConfirmation', '0'); | 70 | + localStorage.setItem('showConfirmation', '0'); // 屏蔽显示点击刷新按钮时的提示 |
| 70 | // 拼接跳转地址,因为要返回到当前页面传入参数 | 71 | // 拼接跳转地址,因为要返回到当前页面传入参数 |
| 71 | let url_params = parseQueryString(location.href); | 72 | let url_params = parseQueryString(location.href); |
| 72 | let str = `/admin/custom_flow/?form_id=${url_params.form_id}`; | 73 | let str = `/admin/custom_flow/?form_id=${url_params.form_id}`; | ... | ... |
-
Please register or login to post a comment