src/components/monitor/VehicleData.vue
@@ -14,17 +14,21 @@ export default { props: { loading: Boolean, factorDatas: FactorDatas factorDatas: FactorDatas, speed: { type: Number, default: 0 } }, data() { return { speed: 0 // speed: 0 }; }, watch: { factorDatas: { handler(nV) { this.speed = this.lastOne(nV, '14'); // this.speed = this.lastOne(nV, '14'); }, deep: true }