Skip to content

Commit

Permalink
fix(Rate): emit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 22, 2020
1 parent af44519 commit c32fba0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/checkbox/demo/index.vue
Expand Up @@ -161,6 +161,7 @@ export default {
methods: {
toggle(index) {
// TODO ref in for
this.$refs.checkboxes[index].toggle();
},
Expand Down
2 changes: 1 addition & 1 deletion src/picker/demo/index.vue
Expand Up @@ -157,7 +157,7 @@ export default {
},
methods: {
onChange1(picker, value, index) {
onChange1(value, index) {
this.$toast(this.t('toastContent', value, index));
},
Expand Down
2 changes: 2 additions & 0 deletions src/rate/index.js
Expand Up @@ -58,6 +58,8 @@ export default createComponent({
},
},

emits: ['change', 'update:modelValue'],

created() {
this.itemRefs = [];
},
Expand Down

0 comments on commit c32fba0

Please sign in to comment.