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.
29 lines
739 B
29 lines
739 B
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "oneBtn",
|
|
props: {
|
|
text: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
setup(__props, { emit }) {
|
|
function oneBtnClick() {
|
|
emit("oneBtnClick");
|
|
}
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.t(__props.text),
|
|
b: __props.disabled ? 1 : "",
|
|
c: common_vendor.o(oneBtnClick)
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4b7d20a4"], ["__file", "D:/work/xinjiangMiniProgram/components/oneBtn/oneBtn.vue"]]);
|
|
wx.createComponent(Component);
|