hookehuyr

fix

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: 2024-12-04 09:42:18 4 + * @LastEditTime: 2024-12-04 10:20:03
5 * @FilePath: /vue-flow-editor/doc/axios.js 5 * @FilePath: /vue-flow-editor/doc/axios.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -69,7 +69,7 @@ axios.interceptors.response.use( ...@@ -69,7 +69,7 @@ axios.interceptors.response.use(
69 localStorage.setItem('showConfirmation', '0'); // 屏蔽显示点击刷新按钮时的提示 69 localStorage.setItem('showConfirmation', '0'); // 屏蔽显示点击刷新按钮时的提示
70 // 拼接跳转地址,因为要返回到当前页面传入参数 70 // 拼接跳转地址,因为要返回到当前页面传入参数
71 let url_params = parseQueryString(location.href); 71 let url_params = parseQueryString(location.href);
72 - let str = `/admin/custom_flow/?form_id=${url_params.form_id}`; 72 + let str = `/admin/custom_flow/#/?form_id=${url_params.form_id}`;
73 let refer_url = window.location.search ? `?${window.location.search}` + `&refer_url=${encodeURIComponent(str)}` : `?refer_url=${encodeURIComponent(str)}`; 73 let refer_url = window.location.search ? `?${window.location.search}` + `&refer_url=${encodeURIComponent(str)}` : `?refer_url=${encodeURIComponent(str)}`;
74 window.location.href = location.origin + '/admin/' + refer_url; 74 window.location.href = location.origin + '/admin/' + refer_url;
75 } 75 }
......