优化代码
This commit is contained in:
39
unpackage/dist/dev/mp-weixin/pages/Setting/settingmod/scanCode.js
vendored
Normal file
39
unpackage/dist/dev/mp-weixin/pages/Setting/settingmod/scanCode.js
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
uuid: "",
|
||||
userId: ""
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
this.uuid = options.uuid;
|
||||
this.userId = options.userId;
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
// request({
|
||||
// url: "user/scan",
|
||||
// method: "POST",
|
||||
// data: {
|
||||
// userId: this.id,
|
||||
// uuid: res.result,
|
||||
// },
|
||||
// userInfo: true,
|
||||
// }).then((ress) => {
|
||||
// });
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d0939827"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Setting/settingmod/scanCode.js.map
|
||||
Reference in New Issue
Block a user