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.

19 lines
686 B

2 months ago
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. props: ["text", "disabled"],
  5. methods: {
  6. oneBtnClick() {
  7. this.$emit("oneBtnClick");
  8. }
  9. }
  10. };
  11. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  12. return {
  13. a: common_vendor.t($props.text),
  14. b: $props.disabled ? 1 : "",
  15. c: common_vendor.o((...args) => $options.oneBtnClick && $options.oneBtnClick(...args))
  16. };
  17. }
  18. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b7d20a4"], ["__file", "D:/work/xinjiangMiniProgram/components/oneBtn/oneBtn.vue"]]);
  19. wx.createComponent(Component);