mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Rate): emit warning
This commit is contained in:
parent
af4451908b
commit
c32fba0f1e
@ -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 = [];
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user