From 1f784a7cd60c74ae74741068820ba31673e034ea Mon Sep 17 00:00:00 2001 From: pg78ac9nr <2401677463@qq.com> Date: Thu, 10 Oct 2024 12:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.0 app.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 1.0 app.js diff --git a/1.0 app.js b/1.0 app.js new file mode 100644 index 0000000..2f0982a --- /dev/null +++ b/1.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