上传文件至 docs
新建项目
This commit is contained in:
15
docs/app.js
Normal file
15
docs/app.js
Normal file
@@ -0,0 +1,15 @@
|
||||
App({
|
||||
globalData: {
|
||||
version: "0.1.0-mvp",
|
||||
user: {
|
||||
id: "player-me",
|
||||
name: "我",
|
||||
avatar: "我"
|
||||
}
|
||||
},
|
||||
|
||||
onLaunch() {
|
||||
const service = require("./services/game-service");
|
||||
service.ensureSeedData();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user