Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-09-19 10:43:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b3cc2a4b3c056433c8d6c4362b2fb3f44f0d712
7b3cc2a4
1 parent
2a5b31d0
fix 西园寺特有,拿到新域名跳转
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/App.vue
src/App.vue
View file @
7b3cc2a
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-0
8-21 10:23:24
* @LastEditTime: 2024-0
9-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;
...
...
Please
register
or
login
to post a comment