You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clothesProject/pages/miniprogram_npm/@vant/weapp/mixins/basic.js

15 lines
428 B

"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); });
},
},
});