Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mini_own
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geruidan
mini_own
Commits
b7959b9a
Commit
b7959b9a
authored
Mar 22, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8410ec71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
pages/index/defalutScreen.vue
pages/index/defalutScreen.vue
+1
-7
shopro/store/modules/user.js
shopro/store/modules/user.js
+2
-1
No files found.
pages/index/defalutScreen.vue
View file @
b7959b9a
...
...
@@ -19,12 +19,7 @@
export
default
{
data
()
{
return
{
unregistered
:
false
,
tabBarVal
:
'
步数
'
,
registerPopup
:
true
,
form
:{
name
:
'
xxx
'
},
tips
:
'
获取
'
,
seconds
:
10
unregistered
:
false
}
},
computed
:
{
...
...
@@ -42,7 +37,6 @@
},
// 获取手机号
async
getInfoPhoneNumber
(
e
)
{
console
.
log
(
e
)
let
number
=
await
this
.
getPhoneNumber
(
e
);
let
register
=
await
this
.
registerInfoFn
();
if
(
register
){
//注册成功
...
...
shopro/store/modules/user.js
View file @
b7959b9a
...
...
@@ -41,9 +41,10 @@ const actions = {
uni
.
checkSession
({
//校验session
success
(
res
)
{
if
(
res
.
errMsg
===
"
checkSession:ok
"
)
sessionStatus
=
true
;
},
complete
()
{
let
mallId
=
'
106975910000477
'
let
mallId
=
'
106975910000477
'
;
uni
.
setStorageSync
(
"
mallId
"
,
mallId
)
if
(
uni
.
getStorageSync
(
"
sessionKey
"
)
&&
sessionStatus
)
{
resolve
(
uni
.
getStorageSync
(
"
sessionKey
"
));
...
...
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