File tree 5 files changed +11
-11
lines changed
5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 76
76
},
77
77
methods: {
78
78
checkboxChange : function (e ) {
79
- var checked = e .target .value
79
+ var checked = e .detail .value
80
80
console .log (checked)
81
81
82
82
},
83
83
radioChange : function (e ) {
84
- var checked = e .target .value
84
+ var checked = e .detail .value
85
85
console .log (checked)
86
86
}
87
87
}
Original file line number Diff line number Diff line change 101
101
},
102
102
methods: {
103
103
bindPickerChange : function (e ) {
104
- console .log (' picker发送选择改变,携带值为:' + e .target .value )
105
- this .index = e .target .value
104
+ console .log (' picker发送选择改变,携带值为:' + e .detail .value )
105
+ this .index = e .detail .value
106
106
},
107
107
bindMultiPickerColumnChange : function (e ) {
108
108
console .log (' 修改的列为:' + e .detail .column + ' ,值为:' + e .detail .value )
151
151
this .$forceUpdate ()
152
152
},
153
153
bindDateChange : function (e ) {
154
- this .date = e .target .value
154
+ this .date = e .detail .value
155
155
},
156
156
bindTimeChange : function (e ) {
157
- this .time = e .target .value
157
+ this .time = e .detail .value
158
158
}
159
159
160
160
}
Original file line number Diff line number Diff line change 73
73
methods: {
74
74
radioChange (evt ) {
75
75
for (let i = 0 ; i < this .items .length ; i++ ) {
76
- if (this .items [i].value === evt .target .value ) {
76
+ if (this .items [i].value === evt .detail .value ) {
77
77
this .current = i;
78
78
break ;
79
79
}
Original file line number Diff line number Diff line change 59
59
this .autoplay = ! this .autoplay
60
60
},
61
61
intervalChange (e ) {
62
- this .interval = e .target .value
62
+ this .interval = e .detail .value
63
63
},
64
64
durationChange (e ) {
65
- this .duration = e .target .value
65
+ this .duration = e .detail .value
66
66
}
67
67
}
68
68
}
Original file line number Diff line number Diff line change 36
36
},
37
37
methods: {
38
38
switch1Change : function (e ) {
39
- console .log (' switch1 发生 change 事件,携带值为' , e .target .value )
39
+ console .log (' switch1 发生 change 事件,携带值为' , e .detail .value )
40
40
},
41
41
switch2Change : function (e ) {
42
- console .log (' switch2 发生 change 事件,携带值为' , e .target .value )
42
+ console .log (' switch2 发生 change 事件,携带值为' , e .detail .value )
43
43
}
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments