electricity_bill_calc_wx/app.js
2024-03-26 17:38:31 +08:00

17 lines
280 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'
}
})