vue2-client 1.12.35 → 1.12.36

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": "vue2-client",
3
- "version": "1.12.35",
3
+ "version": "1.12.36",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -308,8 +308,8 @@ export default {
308
308
  // 点击按钮
309
309
  clickFooter (data, eventName, index) {
310
310
  if (eventName === 'cardclick') {
311
- this.$set(this.data, 'oldIndex', this.data.newIndex)
312
- this.$set(this.data, 'newIndex', index)
311
+ this.$set(data, 'oldIndex', this.data.newIndex)
312
+ this.$set(data, 'newIndex', index)
313
313
  // 清除所有卡片的点击状态
314
314
  if (this.data && Array.isArray(this.data)) {
315
315
  this.data.forEach(item => {