06 2022 档案
摘要:// 设置隐藏属性和改变可见属性的事件的名称 var hidden, visibilityChange; if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18 and later support hid
阅读全文
摘要:function closeWindow() { var browserName = navigator.appName; if(browserName == 'Netscape') { var opened = window.open('about:blank','_self'); opened.
阅读全文
摘要:/** * 将url文件下载到本地 * @param fileUrl {String} 文件链接 * @param fileName {String} 文件名字 * @return void */ async function downloadFile(fileUrl,fileName) { let
阅读全文
摘要:Non-function value encountered for default slot. Prefer function slots问题原因:Vue3 使用h函数 推荐使用函数式插槽,以便获得更佳的性能。 解决方式:// 错误return h(xxx, { xxx }, { xxx});//
阅读全文