This commit is contained in:
parent
47932e2246
commit
ef17ec5055
|
|
@ -147,6 +147,7 @@ export default {
|
||||||
});
|
});
|
||||||
if (newVal.length === 0) {
|
if (newVal.length === 0) {
|
||||||
this.iswarning = false;
|
this.iswarning = false;
|
||||||
|
this.showAudioPrompt = false; // 没有数据 不显示提示框
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.drones) {
|
if (this.drones) {
|
||||||
|
|
@ -229,8 +230,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
handleTimerExpiration(item) {
|
handleTimerExpiration(item) {
|
||||||
// 从drones数组中移除
|
|
||||||
|
|
||||||
// 如果drones也需要同步更新
|
// 如果drones也需要同步更新
|
||||||
if (this.drones.length === 1) {
|
if (this.drones.length === 1) {
|
||||||
this.drones = [];
|
this.drones = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue