basic.js 428 B

1234567891011121314
  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. });