19 lines
179 B
JavaScript
19 lines
179 B
JavaScript
|
|
// app.js
|
|
|
|
const {
|
|
miniProgram: {
|
|
envVersion
|
|
}
|
|
} = wx.getAccountInfoSync();
|
|
|
|
App({
|
|
onLaunch() {
|
|
this.globalData.version = envVersion;
|
|
|
|
},
|
|
globalData: {
|
|
|
|
}
|
|
})
|