openatc-components 0.5.37 → 0.5.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -325,11 +325,12 @@ export default {
|
|
|
325
325
|
handler: function (val, oldVal) {
|
|
326
326
|
if ((val && val.curTime) || val.curTime === 0) {
|
|
327
327
|
this.curtime = val.curTime
|
|
328
|
-
if (val.control === 4 || val.control === 16 || val.control === 22) {
|
|
329
|
-
|
|
330
|
-
} else {
|
|
331
|
-
|
|
332
|
-
}
|
|
328
|
+
// if (val.control === 4 || val.control === 16 || val.control === 22) {
|
|
329
|
+
// this.isControl = false
|
|
330
|
+
// } else {
|
|
331
|
+
// this.isControl = true
|
|
332
|
+
// }
|
|
333
|
+
this.isControl = true
|
|
333
334
|
}
|
|
334
335
|
},
|
|
335
336
|
// 深度观察监听
|
|
@@ -354,11 +355,12 @@ export default {
|
|
|
354
355
|
}
|
|
355
356
|
if ((val && val.curTime) || val.curTime === 0) {
|
|
356
357
|
this.curtime = val.curTime
|
|
357
|
-
if (val.control === 4 || val.control === 16 || val.control === 22) {
|
|
358
|
-
|
|
359
|
-
} else {
|
|
360
|
-
|
|
361
|
-
}
|
|
358
|
+
// if (val.control === 4 || val.control === 16 || val.control === 22) {
|
|
359
|
+
// this.isControl = false
|
|
360
|
+
// } else {
|
|
361
|
+
// this.isControl = true
|
|
362
|
+
// }
|
|
363
|
+
this.isControl = true
|
|
362
364
|
}
|
|
363
365
|
},
|
|
364
366
|
// 深度观察监听
|