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.
|
|
|
"use strict";
|
|
|
|
const common_vendor = require("../common/vendor.js");
|
|
|
|
const _sfc_main = {
|
|
|
|
setup() {
|
|
|
|
common_vendor.reactive({
|
|
|
|
activity: null,
|
|
|
|
receiver: null,
|
|
|
|
intentFilter: null,
|
|
|
|
isstart: false
|
|
|
|
});
|
|
|
|
common_vendor.defineProps();
|
|
|
|
common_vendor.onLoad(() => {
|
|
|
|
console.log("扫描的--------------onLoad");
|
|
|
|
});
|
|
|
|
common_vendor.onShow(() => {
|
|
|
|
console.log("扫描的--------------onShow");
|
|
|
|
});
|
|
|
|
common_vendor.onHide(() => {
|
|
|
|
console.log("扫描的--------------onHide");
|
|
|
|
});
|
|
|
|
common_vendor.onUnload(() => {
|
|
|
|
common_vendor.index.$off("scancodedate");
|
|
|
|
console.log("扫描的--------------onUnload");
|
|
|
|
});
|
|
|
|
function initScan() {
|
|
|
|
}
|
|
|
|
function startScan() {
|
|
|
|
}
|
|
|
|
function stopScan() {
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
startScan,
|
|
|
|
stopScan,
|
|
|
|
initScan
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "F:/物流/logPm/compoment/saomiao2.vue"]]);
|
|
|
|
wx.createComponent(Component);
|