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.
40 lines
1.2 KiB
40 lines
1.2 KiB
"use strict"; |
|
const common_vendor = require("../common/vendor.js"); |
|
require("../utils/log.js"); |
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ |
|
__name: "saomiao2", |
|
props: { |
|
ishidestop: { type: Boolean } |
|
}, |
|
setup(__props) { |
|
const props = __props; |
|
common_vendor.reactive({ |
|
activity: null, |
|
receiver: null, |
|
intentFilter: null, |
|
isstart: false |
|
}); |
|
common_vendor.reactive([]); |
|
common_vendor.onLoad(async () => { |
|
console.log("扫描的--------------onLoad"); |
|
}); |
|
common_vendor.onShow(() => { |
|
console.log("扫描的--------------onShow"); |
|
}); |
|
common_vendor.onHide(() => { |
|
console.log("props?.ishidestop :>> ", props == null ? void 0 : props.ishidestop); |
|
if (props == null ? void 0 : props.ishidestop) |
|
return; |
|
console.log("扫描的--------------onHide"); |
|
}); |
|
common_vendor.onUnload(() => { |
|
common_vendor.index.$off("scancodedate"); |
|
console.log("扫描的--------------onUnload"); |
|
}); |
|
return (_ctx, _cache) => { |
|
return {}; |
|
}; |
|
} |
|
}); |
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/worksp/logpm/compoment/saomiao2.vue"]]); |
|
wx.createComponent(Component);
|
|
|