You cannot use an OR
operator like so, you need to compare each value in the eval statement. If you want 1 statement I would suggest something like this:
!["/create-page","/add-block"].includes(window.location.pathname) && (
...
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…