Commit 18f0b61a6f91af9cb143ae2830455a441356975e

Authored by 刘汉宸
1 parent 25266b4c
Exists in master

修复Cell点击事件

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
components/cell/index.vue
@@ -59,9 +59,7 @@ export default { @@ -59,9 +59,7 @@ export default {
59 }, 59 },
60 methods: { 60 methods: {
61 onClick: function() { 61 onClick: function() {
62 - if (this.$listeners["click"]) {  
63 - this.$emit("click");  
64 - } 62 + this.$emit("click");
65 } 63 }
66 } 64 }
67 }; 65 };