mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 16:31:22 +08:00
Fix linters (#6828)
This commit is contained in:
parent
be2e7ed801
commit
b91792e392
1 changed files with 3 additions and 3 deletions
|
|
@ -98,9 +98,9 @@ export default {
|
||||||
},
|
},
|
||||||
reloadCurrentLevel: function() {
|
reloadCurrentLevel: function() {
|
||||||
if (this.reloadCurrentLevel && (
|
if (this.reloadCurrentLevel && (
|
||||||
this.currentItemId.length == 0 ||
|
this.currentItemId?.length === 0
|
||||||
this.menuItems.filter(item => item.id == this.currentItemId)
|
|| this.menuItems.filter((item) => item.id === this.currentItemId)
|
||||||
)) {
|
)) {
|
||||||
this.loadTree();
|
this.loadTree();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue