提交 ac6a062d 编写于 作者: X xjh22222228

fix: life cycle

上级 d4703dc4
...@@ -95,7 +95,7 @@ server { ...@@ -95,7 +95,7 @@ server {
## 书签导入 ## 书签导入
支持从 Chrome 书签导入,必须满足三级分类,否则会导入失败 支持从 Chrome 书签导入(WebKit内核应该都是支持的~),会自动检测满足三级分类的导航,其他一律跳过
![](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/import.png) ![](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/import.png)
......
...@@ -26,9 +26,7 @@ export class LogoComponent { ...@@ -26,9 +26,7 @@ export class LogoComponent {
} else { } else {
this.url = this.src this.url = this.src
} }
}
ngAfterViewInit() {
if (!this.check) { if (!this.check) {
this.hasError = false this.hasError = false
return return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册