diff --git a/1.0 app.js b/1.0 app.js new file mode 100644 index 0000000..1bda0e8 --- /dev/null +++ b/1.0 app.js @@ -0,0 +1,13 @@ +App({ + onLaunch: function () { + // 初始化云开发 + wx.cloud.init({ + env: 'rollcall-7gk1ko7v5ea7b3c1' + }); + + // 初始化全局数据 + this.globalData = { + students: [] + }; + } +}); \ No newline at end of file