operateList.js
985 字节
"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
__name: "operateList",
setup(__props) {
const current = common_vendor.ref(9);
const handleReturn = () => {
current.value = 0;
};
const handleInvalid = () => {
current.value = 1;
};
const handleUpdate = () => {
current.value = 2;
};
const handleCirculation = () => {
current.value = 3;
};
return (_ctx, _cache) => {
return {
a: current.value === 0 ? 1 : "",
b: common_vendor.o(handleReturn),
c: current.value === 1 ? 1 : "",
d: common_vendor.o(handleInvalid),
e: current.value === 2 ? 1 : "",
f: common_vendor.o(handleUpdate),
g: current.value === 3 ? 1 : "",
h: common_vendor.o(handleCirculation)
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3d588709"]]);
wx.createComponent(Component);