From 6c340e0ec59d3a0cea63165f568bb136f76dfe95 Mon Sep 17 00:00:00 2001 From: pqsw9iynf <1052350599@qq.com> Date: Sun, 30 May 2021 21:52:51 +0800 Subject: [PATCH] app.js --- app.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app.js diff --git a/app.js b/app.js new file mode 100644 index 0000000..f918828 --- /dev/null +++ b/app.js @@ -0,0 +1,24 @@ +//app.js +App({ + //onLaunch,onShow: options(path,query,scene,shareTicket,referrerInfo(appId,extraData)) + onLaunch: function(options) { + + }, + onShow: function(options) { + + }, + onHide: function() { + + }, + onError: function(msg) { + + }, + //options(path,query,isEntryPage) + onPageNotFound: function(options) { + + }, + globalData: { + + } +}); + \ No newline at end of file