refactor: removed useless logs
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user