mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 00:11: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() {
|
||||
if (this.reloadCurrentLevel && (
|
||||
this.currentItemId.length == 0 ||
|
||||
this.menuItems.filter(item => item.id == this.currentItemId)
|
||||
)) {
|
||||
this.currentItemId?.length === 0
|
||||
|| this.menuItems.filter((item) => item.id === this.currentItemId)
|
||||
)) {
|
||||
this.loadTree();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue