fix(home): 更新小说下载接口地址
- 将小说下载接口从 localhost 修改为 192.168.1.32 - 确保接口调用能够正确连接到目标服务器
This commit is contained in:
@@ -49,7 +49,7 @@ function closeAlert(id: number) {
|
|||||||
const handleClick = async (btnObj: BtnItem) => {
|
const handleClick = async (btnObj: BtnItem) => {
|
||||||
if (btnObj.title === "断开") return
|
if (btnObj.title === "断开") return
|
||||||
if (btnObj.title === "小说下载") {
|
if (btnObj.title === "小说下载") {
|
||||||
connect("http://localhost:5000/api/book/download")
|
connect("http://192.168.1.32:5000/api/book/download")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
loading.value = true
|
loading.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user