|
@@ -108,6 +108,13 @@ app.use(ElementPlus, {
|
|
size: Cookies.get('size') || 'default'
|
|
size: Cookies.get('size') || 'default'
|
|
})
|
|
})
|
|
app.mount('#app')
|
|
app.mount('#app')
|
|
|
|
+if ("undefined"==typeof(String.prototype.replaceAll)) {
|
|
|
|
+ //replaceAll兼容低版本浏览器
|
|
|
|
+ String.prototype.replaceAll=function(s1,s2){
|
|
|
|
+ var g1=new RegExp(s1,"g")
|
|
|
|
+ return this.replace(g1,s2)
|
|
|
|
+ }
|
|
|
|
+}
|
|
window.localStorage.removeItem('noreadlist')
|
|
window.localStorage.removeItem('noreadlist')
|
|
window.localStorage.removeItem('inChat')
|
|
window.localStorage.removeItem('inChat')
|
|
//禁止复制
|
|
//禁止复制
|