electricity_bill_calc_wx/app.js
2024-09-10 13:47:09 +08:00

16 lines
276 B
JavaScript

import { checkUpgrade, getConfigByEnv } from "./utils/index"
// app.js
App({
onShow() {
checkUpgrade();
},
onLaunch() {
const { api } = getConfigByEnv();
this.globalData = { ...this.globalData, api, }
},
globalData: {
primaryColor: '#52c41a'
}
})