修改获取本地存储方法

This commit is contained in:
dragon
2024-12-27 15:32:35 +08:00
parent b2cb2f4d61
commit 4fb948ef7a

View File

@@ -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');