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.
14 lines
348 B
14 lines
348 B
App({
|
|
onLaunch(options) {
|
|
// 第一次打开
|
|
// options.query == {number:1}
|
|
console.info("App onLaunch", options);
|
|
if (options.query && options.query.qrCode) {
|
|
this.qrCode = options.query.qrCode.split("?")[1];
|
|
}
|
|
},
|
|
onShow(options) {
|
|
// 从后台被 scheme 重新打开
|
|
// options.query == {number:1}
|
|
}
|
|
});
|
|
|