chore(admin): add comments

This commit is contained in:
dntzhang 2021-08-12 19:11:20 +08:00
parent a0c73e481d
commit 8b10dc53f1
1 changed files with 3 additions and 1 deletions

View File

@ -89,6 +89,8 @@ export default class extends WeElement {
registerRouting(this)
if (location.hash) {
//safari 带hash刷新相当于会先执行 hashChange 导致报错
//hashChange()
this.routeTo(location.hash)
}
}
@ -138,7 +140,7 @@ export default class extends WeElement {
this.store.markdown = e.default
})
// 重新读取 hash 值
// 重新读取 hash 值
hashChange()
}