feat(license): add License.vue, header activate button, backend activate-package API; fix axios interceptor to preserve FormData; add licenseAPI helpers
This commit is contained in:
parent
69650ee030
commit
0592ddfeea
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"machine_id": "W10-D13710C7BD317C29",
|
||||
"platform": "Windows",
|
||||
"request_time": "2025-11-02T03:42:26.592503+00:00",
|
||||
"request_time": "2025-11-04T01:09:01.086984+00:00",
|
||||
"hardware_info": {
|
||||
"system": "Windows",
|
||||
"machine": "AMD64",
|
||||
|
||||
@ -13,7 +13,7 @@ api.interceptors.request.use(
|
||||
if (window.electronAPI) {
|
||||
config.baseURL = window.electronAPI.getBackendUrl()
|
||||
} else {
|
||||
config.baseURL = 'http://localhost:5000'
|
||||
config.baseURL = 'http://192.168.1.58:5000'
|
||||
}
|
||||
|
||||
// 为需要发送数据的请求设置Content-Type(避免覆盖FormData)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user