yuanchu
Version:
18 lines (17 loc) • 478 B
JavaScript
;
const vue = require("vue");
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
...{
name: "YcButton"
},
__name: "button",
setup(__props) {
const count = vue.ref(0);
return (_ctx, _cache) => {
return vue.openBlock(), vue.createElementBlock("button", {
onClick: _cache[0] || (_cache[0] = ($event) => count.value++)
}, "鹓雏" + vue.toDisplayString(count.value) + "按钮", 1);
};
}
});
module.exports = _sfc_main;