refactor: removed useless logs

This commit is contained in:
Savely Savianok
2025-02-26 00:21:30 +03:00
parent 3c8c804fc3
commit cebe95acf5
5 changed files with 4 additions and 15 deletions

View File

@@ -8,12 +8,10 @@ Page(
BasePage({
onInit() {
this.getTOTPData().then((x) => {
console.log(x)
app._options.globalData.TOTPS = JSON.parse(x) ?? []
this.initPage()
})
.catch((x) => {
console.log(x)
app._options.globalData.TOTPS = []
this.initPage()
})

View File

@@ -21,7 +21,6 @@ const renderData = []
function renderTOTPs(buffer) {
for (let i = 0; i < buffer.length; i++) {
let otpData = TOTP.copy(buffer[i]).getOTP()
console.log(otpData.otp)
renderData[i] = {
OTP: RenderOTPValue(i, otpData.otp),
expireBar: RenderExpireBar(i, otpData.createdTime, buffer[i].fetchTime)