basic.js 428B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.basic = void 0;
  4. exports.basic = Behavior({
  5. methods: {
  6. $emit: function (name, detail, options) {
  7. this.triggerEvent(name, detail, options);
  8. },
  9. set: function (data) {
  10. this.setData(data);
  11. return new Promise(function (resolve) { return wx.nextTick(resolve); });
  12. },
  13. },
  14. });