Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2022-05-26 23:52:36 | 3 | * @Date: 2022-05-26 23:52:36 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2024-09-19 10:41:45 | 5 | + * @LastEditTime: 2024-09-19 10:49:04 |
| 6 | * @FilePath: /data-table/src/App.vue | 6 | * @FilePath: /data-table/src/App.vue |
| 7 | * @Description: | 7 | * @Description: |
| 8 | --> | 8 | --> |
| ... | @@ -84,7 +84,7 @@ onMounted(async () => { | ... | @@ -84,7 +84,7 @@ onMounted(async () => { |
| 84 | Object.assign(form_setting, data[0]['property_list'], data[0]['extend']); | 84 | Object.assign(form_setting, data[0]['property_list'], data[0]['extend']); |
| 85 | } | 85 | } |
| 86 | // TAG: 西园寺特有,拿到新域名跳转 | 86 | // TAG: 西园寺特有,拿到新域名跳转 |
| 87 | - if (form_setting.redirect_host) { | 87 | + if (!import.meta.env.DEV && form_setting.redirect_host) { |
| 88 | let host = location.host; | 88 | let host = location.host; |
| 89 | let url = location.href; | 89 | let url = location.href; |
| 90 | let new_url = url.replace(host, form_setting.redirect_host); | 90 | let new_url = url.replace(host, form_setting.redirect_host); | ... | ... |
-
Please register or login to post a comment