Commit 0e364517 authored by lujinlei's avatar lujinlei

-a

parents ced2802e 637c6fe1
import cloud from '@tbmp/mp-cloud-sdk'; import cloud from '@tbmp/mp-cloud-sdk';
cloud.init({ cloud.init({
env: 'test'//'online' test env: 'test' //'online' test
}); });
App({ App({
cloud, cloud,
cloudName: "aaaa",//待修改 cloudName: "filaStar", //待修改
onLaunch(options) { onLaunch(options) {
// 第一次打开 // 第一次打开
// options.query == {number:1}///"enableSkia": "true" // options.query == {number:1}///"enableSkia": "true"
console.info('App onLaunch'); console.info('App onLaunch');
const { activityId } = options.query || {}; const { activityId } = options.query || {};
console.log(activityId) console.log(activityId)
this.activityId = activityId || '5ec5f960f5d6906095de717e'; this.activityId = activityId || '5ec5f960f5d6906095de717e';
}, },
onShow(options) { onShow(options) {
// 从后台被 scheme 重新打开 // 从后台被 scheme 重新打开
// options.query == {number:1} // options.query == {number:1}
}, },
}); });
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment