mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[build] 3.1.0
This commit is contained in:
parent
30f2632fd9
commit
7dc532bc84
16
dist/field/index.js
vendored
16
dist/field/index.js
vendored
@ -49,13 +49,19 @@ Component({
|
||||
|
||||
this.setData({ value: value });
|
||||
|
||||
this.triggerEvent('change', event);
|
||||
this.triggerEvent('change', Object.assign({}, detail));
|
||||
},
|
||||
handleFieldFocus: function handleFieldFocus(event) {
|
||||
this.triggerEvent('focus', event);
|
||||
handleFieldFocus: function handleFieldFocus(_ref) {
|
||||
var _ref$detail = _ref.detail,
|
||||
detail = _ref$detail === undefined ? {} : _ref$detail;
|
||||
|
||||
this.triggerEvent('focus', Object.assign({}, detail));
|
||||
},
|
||||
handleFieldBlur: function handleFieldBlur(event) {
|
||||
this.triggerEvent('blur', event);
|
||||
handleFieldBlur: function handleFieldBlur(_ref2) {
|
||||
var _ref2$detail = _ref2.detail,
|
||||
detail = _ref2$detail === undefined ? {} : _ref2$detail;
|
||||
|
||||
this.triggerEvent('blur', Object.assign({}, detail));
|
||||
},
|
||||
updateIsLastElement: function updateIsLastElement(isLastField) {
|
||||
var showBorder = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user