|
|
@ -106,16 +106,16 @@ export default { |
|
|
|
break; |
|
|
|
case "0": |
|
|
|
case "3": |
|
|
|
case "externalPlatformOffline": |
|
|
|
case "trafficFlowDataEarlyWarning": |
|
|
|
this.$emit("newEvent", params); |
|
|
|
break; |
|
|
|
case "2": |
|
|
|
this.triggerAlert() |
|
|
|
setTimeout(() => { |
|
|
|
this.$emit("newEvent", params); |
|
|
|
}, 1000); // 1000 毫秒 = 1 秒 |
|
|
|
break; |
|
|
|
case "externalPlatformOffline": |
|
|
|
case "trafficFlowDataEarlyWarning": |
|
|
|
this.$emit("newEvent", params); |
|
|
|
break; |
|
|
|
case "1": |
|
|
|
if(content.event.warningType==10||content.event.warningType==11){ |
|
|
|
this.triggerAlert() |
|
|
|