<script> let timer export default { name: 'openApp', methods: { watchVisibility() { window.addEventListener('visibilitychange', () => { // 监听页面visibility if(document.hidden) { // 如果页面隐藏了,则表示唤起成功,这时候需要清除下载定时器 clearTimeout(timer) } }) }, open() { timer =...