mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-22 06:31:46 +08:00
parent
978b59650c
commit
b7ded1282f
@ -1,7 +1,6 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
import { Weapp } from 'definitions/weapp';
|
||||
import { commonProps, inputProps, textareaProps } from './props';
|
||||
import { canIUseModel } from '../common/version';
|
||||
|
||||
VantComponent({
|
||||
field: true,
|
||||
@ -122,9 +121,7 @@ VantComponent({
|
||||
},
|
||||
|
||||
emitChange() {
|
||||
if (canIUseModel()) {
|
||||
this.setData({ value: this.value });
|
||||
}
|
||||
this.setData({ value: this.value });
|
||||
|
||||
wx.nextTick(() => {
|
||||
this.$emit('input', this.value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user