Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
singleStore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max
singleStore
Commits
533ea419
Commit
533ea419
authored
Sep 03, 2021
by
June
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:wxupdate
parent
29adb4f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
.gitignore
.gitignore
+1
-4
App.vue
App.vue
+1
-1
config/index.js
config/index.js
+1
-1
ext.json
ext.json
+2
-2
No files found.
.gitignore
View file @
533ea419
...
...
@@ -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*
...
...
App.vue
View file @
533ea419
...
...
@@ -47,7 +47,7 @@ export default {
// 检查更新
checkUpdate
()
{
if
(
wx
.
canIUse
(
'
getUpdateManager
'
))
{
if
(
uni
.
canIUse
(
'
getUpdateManager
'
))
{
const
updateManager
=
uni
.
getUpdateManager
()
// 请求完新版本信息的回调
// updateManager.onCheckForUpdate(res => {
...
...
config/index.js
View file @
533ea419
const
env
=
{
release
:
'
https://www.gelifood.com
'
,
// 正式版
trial
:
'
https://www.gelifood.com
'
,
// 体验版
develop
:
'
https://
d
.gelifood.com
'
// 开发版
develop
:
'
https://
www
.gelifood.com
'
// 开发版
}
// 不考虑其他端小程序直接这样配置
...
...
ext.json
View file @
533ea419
{
"extEnable"
:
true
,
"extAppid"
:
"wx
d170058f4ad8fec
d"
,
"extAppid"
:
"wx
537e892e36fbf79
d"
,
"ext"
:
{
"appid"
:
"wx
d170058f4ad8fec
d"
"appid"
:
"wx
537e892e36fbf79
d"
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment