filesbox/miniprogram/FilesBox/node_modules/@vant/weapp/lib/mixins/basic.js
2023-09-21 10:23:31 +08:00

15 lines
428 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); });
},
},
});