style:配置修改
Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-02 09:49:22 | 4 | * @LastEditTime: 2023-06-07 11:17:46 |
| 5 | --> | 5 | --> |
| 6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
| 7 | <html> | 7 | <html> |
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | business: 'http://localhost:7001' | 31 | business: 'http://localhost:7001' |
| 32 | } | 32 | } |
| 33 | } | 33 | } |
| 34 | fetch('<%= BASE_URL %>config.json') | 34 | fetch('./config.json') |
| 35 | .then(response => response.json()) | 35 | .then(response => response.json()) |
| 36 | .then(config => { | 36 | .then(config => { |
| 37 | window.config = config | 37 | window.config = config | ... | ... |
-
Please register or sign in to post a comment