1
0
forked from dyf/APP

删除测试App的部分文件,修复loading有时不显示的问题

This commit is contained in:
liub
2025-11-25 16:08:45 +08:00
parent 2ba53fcf92
commit b01ad9d698
20 changed files with 131 additions and 14002 deletions

View File

@ -175,7 +175,7 @@
baseURL
} from '@/utils/request.js';
var pagePath = "/pages/6155/HBY6155";
var pagePath = "/pages/6155/deviceDetail";
var ble = null;
var these = null;
@ -575,7 +575,7 @@
keys.forEach((key) => {
if (key in these.formData) {
// 确保响应式更新
console.log(`更新字段 ${key}: ${these.formData[key]} -> ${json[key]}`);
// console.log(`更新字段 ${key}: ${these.formData[key]} -> ${json[key]}`);
these.$set(these.formData, key, json[key]);
} else {
console.log(`字段 ${key} 不在 formData 中,跳过更新`);
@ -584,7 +584,7 @@
// 强制触发视图更新,确保电量显示同步
these.$forceUpdate();
console.log("更新后的电量:", these.formData.battary);
// console.log("更新后的电量:", these.formData.battary);
if (this.formData.battary <= 20) {
this.showPop({
@ -911,7 +911,7 @@
"clientid": clientid
},
formData: {
code: 2,
code: 1,
width: width,
height: height
},
@ -942,6 +942,8 @@
resolve(res.data);
return;
}else{
console.log("res.data=",res.data);
}
}
@ -1087,7 +1089,7 @@
dataView.setUint8(packetSize - 1, 0xFF);
}
let inteval = parseInt(this.inteval ? this.inteval : 80);
console.log(inteval, 'intevalinteval');
// console.log(inteval, 'intevalinteval');
ble.sendData(f.deviceId, buffer, f.writeServiceId, f
.wirteCharactId).then(() => {
if (ReSendNo) {