hookehuyr

fix 西园寺特有,拿到新域名跳转

......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-21 10:23:24
* @LastEditTime: 2024-09-19 10:41:45
* @FilePath: /data-table/src/App.vue
* @Description:
-->
......@@ -83,6 +83,13 @@ onMounted(async () => {
if (data.length) {
Object.assign(form_setting, data[0]['property_list'], data[0]['extend']);
}
// TAG: 西园寺特有,拿到新域名跳转
if (form_setting.redirect_host) {
let host = location.host;
let url = location.href;
let new_url = url.replace(host, form_setting.redirect_host);
location.href = new_url;
}
// TAG: 是否显示流程按钮
if (page_type === 'add' && form_setting.flow_id) {
form_setting.is_flow = true;
......