Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
1b6149e4
Commit
1b6149e4
authored
Sep 24, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a7a12a52
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
index.vue
components/auth/index.vue
+1
-0
index.vue
pages/index/index.vue
+1
-0
user-center.vue
pages/user-center/user-center.vue
+1
-0
api.js
plugin/api.js
+1
-0
No files found.
components/auth/index.vue
View file @
1b6149e4
...
...
@@ -145,6 +145,7 @@ export default {
}
uni
.
removeStorageSync
(
'pid'
);
uni
.
removeStorageSync
(
'SmallShopId'
);
uni
.
removeStorageSync
(
"Up"
);
}
}
);
...
...
pages/index/index.vue
View file @
1b6149e4
...
...
@@ -476,6 +476,7 @@ export default {
that
.
u
=
res
.
data
;
uni
.
removeStorageSync
(
"pid"
);
uni
.
removeStorageSync
(
"SmallShopId"
);
uni
.
removeStorageSync
(
"Up"
);
that
.
getPageType
()
// 如果登录的情况下直接跳转商品详情或者直播列表
setTimeout
(()
=>
{
...
...
pages/user-center/user-center.vue
View file @
1b6149e4
...
...
@@ -361,6 +361,7 @@ export default {
uni
.
setStorageSync
(
'mall_UserInfo'
,
res
.
data
);
uni
.
removeStorageSync
(
'pid'
);
uni
.
removeStorageSync
(
'SmallShopId'
);
uni
.
removeStorageSync
(
"Up"
);
}
}
);
...
...
plugin/api.js
View file @
1b6149e4
...
...
@@ -107,6 +107,7 @@ export default {
uni
.
setStorageSync
(
'mall_UserInfo'
,
res
.
data
);
uni
.
removeStorageSync
(
'pid'
);
uni
.
removeStorageSync
(
'SmallShopId'
);
uni
.
removeStorageSync
(
"Up"
);
}
}
);
...
...
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