摘要:
在app.vue 的 mounted 生命周期中写入下面的代码 : if (!!window.ActiveXObject || 'ActiveXObject' in window) { window.addEventListener('hashchange', () => { let current 阅读全文
摘要:
在此总结自己常用的几种js判断数据类型的方法。 定义几个变量备用: let a="string"; let b=111; let c={}; let d=[1,2,3]; let e=function () { console.log("eee"); } let f = undefined; let 阅读全文