4.17websocket调试成功

main
coco1986509808 2023-04-17 20:12:20 +08:00
parent d9d7f0ed8e
commit 8c6d65631a
1 changed files with 2 additions and 7 deletions

View File

@ -387,18 +387,13 @@
*/
getWarningPicture(warningData) {
// warningDataws
if (this.warningList.length === 4) {
this.warningList.pop()
this.warningList.unshift(warningData)
} else {
console.log("this warningDAta")
console.log(warningData)
this.warningList = warningData
// this.warningList.unshift(warningData)
//this.warningList.unshift(warningData)
console.log("this warningList")
console.log(this.warningList)
}
// tips
let warningType = this.$refs.notice
warningType.play()