PDF 优化

This commit is contained in:
binbin_pan 2024-09-18 14:13:02 +08:00
parent d3a2ea6340
commit ad60298cdd
2 changed files with 4 additions and 2 deletions

View File

@ -527,8 +527,10 @@ See https://github.com/adobe-type-tools/cmap-resources
document.getElementById('tip').innerText = '剩余学习时间:' + time; document.getElementById('tip').innerText = '剩余学习时间:' + time;
} }
}, 1000); }, 1000);
} else { } else if (params == 0) {
document.getElementById('tip').innerText = '已完成学习'; document.getElementById('tip').innerText = '已完成学习';
} else {
document.getElementById('tip').innerText = '';
} }
var interval = setInterval('loadPdf()', 300); var interval = setInterval('loadPdf()', 300);

View File

@ -316,7 +316,7 @@
fail: err => { fail: err => {
console.log('🚀 ~ gotoYy ~ err:', err) console.log('🚀 ~ gotoYy ~ err:', err)
uni.showToast({ uni.showToast({
title: err.message, title: err.errMsg,
icon: 'none' icon: 'none'
}) })
} }