31 lines
948 B
JavaScript
31 lines
948 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "saoyisao",
|
|
setup(__props) {
|
|
const goBack = () => {
|
|
common_vendor.index.navigateBack();
|
|
};
|
|
async function onScan() {
|
|
const res = await common_vendor.index.scanCode();
|
|
common_vendor.index.__f__("log", "at pages/oldmanindex/saoyisao.vue:49", "scan result", res.result);
|
|
result.value = res.result;
|
|
common_vendor.index.showToast({
|
|
title: res.result,
|
|
icon: "none"
|
|
});
|
|
}
|
|
common_vendor.onLoad(() => {
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.o(goBack),
|
|
b: common_vendor.o(onScan)
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8fcb4df2"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/saoyisao.js.map
|