mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix(Rate): emit warning
This commit is contained in:
@@ -161,6 +161,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
toggle(index) {
|
toggle(index) {
|
||||||
|
// TODO ref in for
|
||||||
this.$refs.checkboxes[index].toggle();
|
this.$refs.checkboxes[index].toggle();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -157,7 +157,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
onChange1(picker, value, index) {
|
onChange1(value, index) {
|
||||||
this.$toast(this.t('toastContent', value, index));
|
this.$toast(this.t('toastContent', value, index));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -58,6 +58,8 @@ export default createComponent({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
emits: ['change', 'update:modelValue'],
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.itemRefs = [];
|
this.itemRefs = [];
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user