flx:修改监控类型

This commit is contained in:
Rain_ 2025-09-29 15:06:32 +08:00
parent c3da3e26e9
commit ad9dd0ac4f
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ export default {
cameraIndexCode: tempCode,
streamType:
row.defaultStreamType == 2 ? 0 : row.defaultStreamType,
type: "ws",
type: window.location.protocol.includes("https") ? "wss" : "ws",
transmode: 1,
itemId: row.itemId,
};

View File

@ -736,7 +736,7 @@ export default {
// itemId: row.itemId,
serialNumber: row.serialNumber,
projectSn: row.projectSn,
protocol: "ws",
protocol: window.location.protocol.includes("https") ? "wss" : "ws",
beginTime: this.startTime,
endTime: this.endTime,