Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
fae24a0c
Commit
fae24a0c
authored
Feb 06, 2025
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化登录
parent
ac582dd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
index.vue
pages/index/index.vue
+3
-0
utils.js
plugin/utils.js
+1
-0
No files found.
pages/index/index.vue
View file @
fae24a0c
...
...
@@ -488,6 +488,9 @@
uni
.
removeStorageSync
(
'b2b_user'
)
uni
.
removeStorageSync
(
'mall_UserInfo'
)
}
}
else
{
uni
.
removeStorageSync
(
'b2b_user'
)
uni
.
removeStorageSync
(
'mall_UserInfo'
)
}
},
// #ifdef MP-WEIXIN
...
...
plugin/utils.js
View file @
fae24a0c
...
...
@@ -94,6 +94,7 @@ function SubscribeMsgAli(cb) {
//定义更新方法
function
VersionUpdate
()
{
// 判断应用的 getUpdateManager 是否在当前版本可用
console
.
log
(
'canIUse'
,
uni
.
canIUse
(
'getUpdateManager'
))
if
(
uni
.
canIUse
(
'getUpdateManager'
))
{
const
updateManager
=
uni
.
getUpdateManager
()
// 向小程序后台请求完新版本信息
...
...
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