Commit cf5178d6 authored by FE-安焕焕's avatar FE-安焕焕 👣

fix:手机号存储问题

parent aa57310e
......@@ -49,6 +49,7 @@ import AccountInput from './components/AccountInput.vue';
import { throttle } from '@/service/utils.service';
import { isPhone } from '@/service/validation.service';
import { ITEM_WIDTH } from './components/constant';
import localStorage from '@/service/localStorage.service';
export default {
name: 'VipLife',
components: {
......@@ -142,6 +143,7 @@ export default {
const [res] = await rechargeApi.getSpuList();
if (res) {
this.account = res?.userPhoneInfo?.phoneNo;
localStorage.set('phoneNo', this.account);
this.spuData = res.vipLife;
this.updateSpuInfo(this.spuData[this.currentTab - 1].itemList[0]);
this.getSkuListDebounce();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment