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