Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
cauchy-ui
Commits
cf5178d6
Commit
cf5178d6
authored
Aug 10, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:手机号存储问题
parent
aa57310e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.vue
src/views/vipLife/index.vue
+2
-0
No files found.
src/views/vipLife/index.vue
View file @
cf5178d6
...
@@ -49,6 +49,7 @@ import AccountInput from './components/AccountInput.vue';
...
@@ -49,6 +49,7 @@ import AccountInput from './components/AccountInput.vue';
import
{
throttle
}
from
'
@/service/utils.service
'
;
import
{
throttle
}
from
'
@/service/utils.service
'
;
import
{
isPhone
}
from
'
@/service/validation.service
'
;
import
{
isPhone
}
from
'
@/service/validation.service
'
;
import
{
ITEM_WIDTH
}
from
'
./components/constant
'
;
import
{
ITEM_WIDTH
}
from
'
./components/constant
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
export
default
{
export
default
{
name
:
'
VipLife
'
,
name
:
'
VipLife
'
,
components
:
{
components
:
{
...
@@ -142,6 +143,7 @@ export default {
...
@@ -142,6 +143,7 @@ export default {
const
[
res
]
=
await
rechargeApi
.
getSpuList
();
const
[
res
]
=
await
rechargeApi
.
getSpuList
();
if
(
res
)
{
if
(
res
)
{
this
.
account
=
res
?.
userPhoneInfo
?.
phoneNo
;
this
.
account
=
res
?.
userPhoneInfo
?.
phoneNo
;
localStorage
.
set
(
'
phoneNo
'
,
this
.
account
);
this
.
spuData
=
res
.
vipLife
;
this
.
spuData
=
res
.
vipLife
;
this
.
updateSpuInfo
(
this
.
spuData
[
this
.
currentTab
-
1
].
itemList
[
0
]);
this
.
updateSpuInfo
(
this
.
spuData
[
this
.
currentTab
-
1
].
itemList
[
0
]);
this
.
getSkuListDebounce
();
this
.
getSkuListDebounce
();
...
...
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