Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
44a5b608
Commit
44a5b608
authored
Aug 16, 2023
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.CFFP BUG 解决从非登录页登录,造成的userInfo对象未刷新从而导致的申请加盟中手机号码未默认填入的问题
parent
006f480e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
components/bootpage/bootpage.vue
+1
-0
pages/index/index.vue
+6
-1
No files found.
components/bootpage/bootpage.vue
View file @
44a5b608
...
...
@@ -127,6 +127,7 @@
// uni.navigateTo({
// url:'/pages/orderConfirm/orderConfirm?userId=' + this.userId
// })
uni
.
$emit
(
'loginUpdate'
);
this
.
closebootpage
()
}
else
{
uni
.
showToast
({
...
...
pages/index/index.vue
View file @
44a5b608
...
...
@@ -177,8 +177,12 @@
this
.
init
();
},
onLoad
()
{
if
(
uni
.
getStorageSync
(
'isLogin'
))
{
//如果用户在其他的地方快捷登录,没有返回到首页,执行此监听方法
uni
.
$on
(
'loginUpdate'
,()
=>
{
this
.
queryAreaCenterInfo
();
})
if
(
uni
.
getStorageSync
(
'isLogin'
))
{
this
.
announcementQuery
();
this
.
courseList
();
}
...
...
@@ -192,6 +196,7 @@
}
else
{
this
.
loginornot
=
true
;
}
this
.
queryAreaCenterInfo
();
}
else
{
api
.
loginVerification
({
"loginType"
:
1
...
...
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