* zin: ignore ajax request on check self open.

This commit is contained in:
sunhao
2024-03-01 16:16:59 +08:00
parent 9b7033212b
commit eddfc46b0e
+1
View File
@@ -11,6 +11,7 @@
const isAllowSelfOpen = isIndexPage
|| location.hash === '#_single'
|| /(\?|\&)_single/.test(location.search)
|| currentMethod.startsWith('ajax')
|| selfOpenList.has(`${currentModule}-${currentMethod}`)
|| selfOpenList.has(currentModule)
|| $('body').hasClass('allow-self-open');