mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
d6f67f083f
commit
cc95c58635
@ -1,5 +1,4 @@
|
|||||||
import { VantComponent } from '../common/component';
|
import { VantComponent } from '../common/component';
|
||||||
import { Weapp } from 'definitions/weapp';
|
|
||||||
|
|
||||||
VantComponent({
|
VantComponent({
|
||||||
field: true,
|
field: true,
|
||||||
@ -44,9 +43,10 @@ VantComponent({
|
|||||||
instance.$emit('change', value);
|
instance.$emit('change', value);
|
||||||
},
|
},
|
||||||
|
|
||||||
onChange(event: Weapp.Event) {
|
onChange() {
|
||||||
console.log(event);
|
if (!this.data.disabled) {
|
||||||
this.emitChange(this.data.name);
|
this.emitChange(this.data.name);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onClickLabel() {
|
onClickLabel() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user