fix:
This commit is contained in:
parent
42676ab855
commit
996759e60c
|
@ -59,7 +59,7 @@ export default {
|
||||||
formData.append("printer_name", "GP-3150TN"); // 添加其他字段
|
formData.append("printer_name", "GP-3150TN"); // 添加其他字段
|
||||||
|
|
||||||
// 发送 POST 请求
|
// 发送 POST 请求
|
||||||
http.post("http://localhost:8080/print/", formData)
|
http.post("http://localhost:8080/prints/", formData)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
console.log("postRes", response);
|
console.log("postRes", response);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue