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
19 lines
686 B
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
props: ["text", "disabled"],
|
|
methods: {
|
|
oneBtnClick() {
|
|
this.$emit("oneBtnClick");
|
|
}
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.t($props.text),
|
|
b: $props.disabled ? 1 : "",
|
|
c: common_vendor.o((...args) => $options.oneBtnClick && $options.oneBtnClick(...args))
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b7d20a4"], ["__file", "D:/work/xinjiangMiniProgram/components/oneBtn/oneBtn.vue"]]);
|
|
wx.createComponent(Component);
|