|
|
@@ -86,7 +86,8 @@ const goShot = () => {
|
|
|
// 健康检查函数
|
|
|
const checkHealth = async () => {
|
|
|
try {
|
|
|
- const response = await axios.get('http://127.0.0.1:7074');
|
|
|
+ const healthUrl = (configInfoStore?.appConfig?.pyapp) || 'http://127.0.0.1:7074'
|
|
|
+ const response = await axios.get(healthUrl);
|
|
|
if (response.status === 200) {
|
|
|
loading.value = false; // 健康检查成功,关闭 loading
|
|
|
|