add: 讨论
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
import '~/layouts/common.styl'
|
||||
import vditor from 'vditor'
|
||||
import 'vditor/dist/index.css'
|
||||
|
||||
const $tags = document.getElementById('tags')
|
||||
const floatTop = $tags.offsetTop + $tags.scrollHeight + 30
|
||||
@ -17,7 +19,7 @@ window.addEvent = addEvent
|
||||
|
||||
window.onload = function () {
|
||||
if (navigator.appName === 'Microsoft Internet Explorer' && parseInt(navigator.appVersion.split(';')[1].replace(/[ ]/g, '').replace('MSIE', '')) <= 9) {
|
||||
alert('您的浏览器版本过低,继续访问将会出现问题,请升级浏览器版本!')
|
||||
alert('您的浏览器版本过低,继续访问将会出现问题,请升级浏览器版本!') // eslint-disable-line
|
||||
}
|
||||
|
||||
// 底部返回顶部按钮
|
||||
@ -54,3 +56,5 @@ window.onload = function () {
|
||||
const s = document.getElementsByTagName('script')[0]
|
||||
s.parentNode.insertBefore(hm, s)
|
||||
}
|
||||
|
||||
window.Vditor = vditor
|
||||
|
Reference in New Issue
Block a user