vue2-client 1.12.34 → 1.12.35
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
|
@@ -308,8 +308,8 @@ export default {
|
|
|
308
308
|
// 点击按钮
|
|
309
309
|
clickFooter (data, eventName, index) {
|
|
310
310
|
if (eventName === 'cardclick') {
|
|
311
|
-
this.data
|
|
312
|
-
this.data
|
|
311
|
+
this.$set(this.data, 'oldIndex', this.data.newIndex)
|
|
312
|
+
this.$set(this.data, 'newIndex', index)
|
|
313
313
|
// 清除所有卡片的点击状态
|
|
314
314
|
if (this.data && Array.isArray(this.data)) {
|
|
315
315
|
this.data.forEach(item => {
|