updated README

This commit is contained in:
Marvin Zhang
2019-05-30 10:25:13 +08:00
parent 2dd0a7cebf
commit fe329941ca
3 changed files with 9 additions and 2 deletions

View File

@@ -29,9 +29,9 @@ export default {
localStorage.setItem('useStats', value)
document.querySelector('.el-message__closeBtn').click()
if (value === 1) {
_hmt.push(['_trackPageview', '/allow_stats'])
window._hmt.push(['_trackPageview', '/allow_stats'])
} else {
_hmt.push(['_trackPageview', '/disallow_stats'])
window._hmt.push(['_trackPageview', '/disallow_stats'])
}
}
@@ -98,6 +98,7 @@ export default {
font-size: 12px;
border-radius: 4px;
cursor: pointer;
border: 1px solid #909399;
}
.message-btn:hover {