Commit 533ea419 authored by June's avatar June

fix:wxupdate

parent 29adb4f9
......@@ -4,10 +4,7 @@ node_modules
unpackage
/dist
.project.config.json
# local env files
.env.local
.env.*.local
ext.json
# Log files
npm-debug.log*
......
......@@ -47,7 +47,7 @@ export default {
// 检查更新
checkUpdate() {
if (wx.canIUse('getUpdateManager')) {
if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager()
// 请求完新版本信息的回调
// updateManager.onCheckForUpdate(res => {
......
const env = {
release: 'https://www.gelifood.com', // 正式版
trial: 'https://www.gelifood.com', // 体验版
develop: 'https://d.gelifood.com' // 开发版
develop: 'https://www.gelifood.com' // 开发版
}
// 不考虑其他端小程序直接这样配置
......
{
"extEnable": true,
"extAppid": "wxd170058f4ad8fecd",
"extAppid": "wx537e892e36fbf79d",
"ext": {
"appid": "wxd170058f4ad8fecd"
"appid": "wx537e892e36fbf79d"
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment