classcard-ui 0.2.590 → 0.2.591

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": "classcard-ui",
3
- "version": "0.2.590",
3
+ "version": "0.2.591",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -71,7 +71,7 @@
71
71
  v-if="items.listIcon"
72
72
  type="button"
73
73
  class="flex h-8 w-8 items-center justify-center rounded-full text-gray-500 hover:bg-red-100 hover:text-red-800 focus:outline-none focus:ring-2 focus:ring-red-500"
74
- @click="deleteItem(event)"
74
+ @click="deleteItem"
75
75
  >
76
76
  <c-icon
77
77
  name="trash"
@@ -116,9 +116,9 @@ export default {
116
116
  collapseList() {
117
117
  this.showSection = !this.showSection;
118
118
  },
119
- deleteItem(event) {
120
- console.log(event);
121
- this.$emit("delete-item", event);
119
+ deleteItem(item) {
120
+ console.log(item);
121
+ this.$emit("delete-item", item);
122
122
  },
123
123
  },
124
124
  };