hookehuyr

fix

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