修改获取本地存储方法
This commit is contained in:
@@ -119,7 +119,7 @@ function getAccount() {
|
||||
$('.page1 .incomeBoxLast .d2 span').text(`${lastCycle.settledIncome} ÜS`);
|
||||
$('.page1 .incomeBoxLast .d3 span').text(`${lastCycle.remainingIncome} ÜS`);
|
||||
// 有效时长
|
||||
if (localStorage.getItem('partitionId') == 8) {
|
||||
if (window.localStorage.getItem('partitionId') == 8) {
|
||||
$('.page1 .myDuration b').text(res.data.person.curCycleMicRemainTime);
|
||||
$('.page1 .myDuration span').text(res.data.person.curCycle.cycleDate);
|
||||
$('.page1 .myDuration').css('display', 'flex');
|
||||
|
Reference in New Issue
Block a user