openatc-components 0.4.61 → 0.4.63

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.
@@ -75,7 +75,7 @@ export default {
75
75
  watch: {
76
76
  Data: {
77
77
  handler: function (val) {
78
- if (this.isVipRoute) {
78
+ if (this.isVipRoute || this.customClick) {
79
79
  this.handleStatus()
80
80
  }
81
81
  if (this.lastStatus === '') {
@@ -131,6 +131,10 @@ export default {
131
131
  isVipRoute: {
132
132
  type: Boolean,
133
133
  default: false
134
+ },
135
+ customClick: { // 自定义点击事件,跳过特勤限制
136
+ type: Boolean,
137
+ default: false
134
138
  }
135
139
  },
136
140
  methods: {
@@ -179,7 +183,7 @@ export default {
179
183
  }
180
184
  },
181
185
  mounted () {
182
- if (this.isVipRoute) {
186
+ if (this.isVipRoute || this.customClick) {
183
187
  this.handleStatus()
184
188
  this.IconAddEvent()
185
189
  }