Commit 533ea419 authored by June's avatar June

fix:wxupdate

parent 29adb4f9
...@@ -4,10 +4,7 @@ node_modules ...@@ -4,10 +4,7 @@ node_modules
unpackage unpackage
/dist /dist
.project.config.json .project.config.json
ext.json
# local env files
.env.local
.env.*.local
# Log files # Log files
npm-debug.log* npm-debug.log*
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
// 检查更新 // 检查更新
checkUpdate() { checkUpdate() {
if (wx.canIUse('getUpdateManager')) { if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager() const updateManager = uni.getUpdateManager()
// 请求完新版本信息的回调 // 请求完新版本信息的回调
// updateManager.onCheckForUpdate(res => { // updateManager.onCheckForUpdate(res => {
......
const env = { const env = {
release: 'https://www.gelifood.com', // 正式版 release: 'https://www.gelifood.com', // 正式版
trial: 'https://www.gelifood.com', // 体验版 trial: 'https://www.gelifood.com', // 体验版
develop: 'https://d.gelifood.com' // 开发版 develop: 'https://www.gelifood.com' // 开发版
} }
// 不考虑其他端小程序直接这样配置 // 不考虑其他端小程序直接这样配置
......
{ {
"extEnable": true, "extEnable": true,
"extAppid": "wxd170058f4ad8fecd", "extAppid": "wx537e892e36fbf79d",
"ext": { "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