issue 53976

This commit is contained in:
caishi 2022-11-15 15:58:46 +08:00
parent 94ffb5d299
commit 069af4e5f7
2 changed files with 6 additions and 2 deletions

View File

@ -208,7 +208,7 @@ class App extends Component {
componentDidMount() {
document.title = "loading...";
// this.getAppdata();
this.getAppdata();
window.addEventListener('error', (event) => {
const msg = `${event.type}: ${event.message}`;

View File

@ -51,7 +51,11 @@ class NewHeader extends Component {
}
}
componentDidMount() {
this.geturlsdata();
// this.geturlsdata();
let settings = localStorage.chromesetting&&JSON.parse(localStorage.chromesetting);
this.setState({
settings
})
window._header_componentHandler = this;
try {