mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
'use strict';
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
exports.basic = void 0;
|
|
exports.basic = Behavior({
|
|
methods: {
|
|
$emit: function (name, detail, options) {
|
|
this.triggerEvent(name, detail, options);
|
|
},
|
|
set: function (data) {
|
|
this.setData(data);
|
|
return new Promise(function (resolve) {
|
|
return wx.nextTick(resolve);
|
|
});
|
|
},
|
|
},
|
|
});
|