openatc-components 0.0.82 → 0.0.83

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -398,9 +398,15 @@ export default {
398
398
  },
399
399
  methods: {
400
400
  refreshShow (showWalk) {
401
- for (let i = 0; i < this.showWalk.length; i++) {
401
+ console.log(showWalk, 'showWalk')
402
+ for (let i = 0; i < 16; i++) {
403
+ if (this.status[i].isshow) {
404
+ this.status[i].isshow = false
405
+ }
406
+ }
407
+ for (let i = 0; i < showWalk.length; i++) {
402
408
  for (let j = 0; j < this.status.length; j++) {
403
- if (this.showWalk[i].name === this.status[j].name) {
409
+ if (showWalk[i].name === this.status[j].name) {
404
410
  this.status[j].isshow = true
405
411
  }
406
412
  }