修改mainfest解决打包报错

This commit is contained in:
liub
2025-09-25 15:58:33 +08:00
parent 15d99211a0
commit 457197ca54
4 changed files with 25 additions and 34 deletions

View File

@ -983,8 +983,8 @@
}
uni.uploadFile({
url: 'http://114.55.111.217/video/upload',
// url: baseURL+"app/video/upload",
// url: 'http://114.55.111.217/video/upload',
url: baseURL+"app/video/upload",
filePath: videoPath,
name: 'file',
header: {

View File

@ -1847,8 +1847,8 @@
}
console.log("baseURL=", baseURL);
uni.uploadFile({
url: 'http://114.55.111.217/video/upload',
// url: baseURL + "/app/video/upload",
// url: 'http://114.55.111.217/video/upload',
url: baseURL + "/app/video/upload",
filePath: videoPath,
name: 'file',
header: {

View File

@ -111,7 +111,7 @@
onUnload() {
console.log("返回时断开蓝牙连接,取消订阅");
ble.disconnectDevice(these.device.deviceId);
ble.removeReceiveCallback(pagePath);
},
onLoad(option) {
@ -165,6 +165,7 @@
if(!these.device.macAddress){
return;
}
clearTimeout(this.Statu.timeInteval);
this.Statu.timeInteval = setTimeout(() => {
@ -181,7 +182,7 @@
}
}).then(res => {
console.log("获取设备信息", res);
// console.log("获取设备信息", res);
if (res && res.code == 200) {
let data = res.data;
this.serverDevice=data;
@ -207,15 +208,15 @@
}
});
console.log("device=", these.device);
console.log("LinkedList=", ble.data.LinkedList);
// console.log("device=", these.device);
// console.log("LinkedList=", ble.data.LinkedList);
}
}
}).catch((ex) => {
console.log("获取设备出现异常:", ex);
console.error("获取设备出现异常:", ex);
}).finally(() => {
this.Statu.timeInteval=null;
this.Statu.isSearch=false;
@ -283,7 +284,8 @@
});
ble.removeReceiveCallback(pagePath);
clearTimeout(this.Statu.timeInteval);
this.Statu.timeInteval=null;
uni.$emit("refreshDeviceList");
setTimeout(() => {
uni.switchTab({