* zin: fix menu toggle not work in index page.

This commit is contained in:
sunhao
2023-11-23 10:34:13 +08:00
parent 038ce1b412
commit 8fd2be645d
+1
View File
@@ -27,6 +27,7 @@
{
let config = window.config;
const isIndexPage = config.currentModule === 'index' && config.currentMethod === 'index';
if(isIndexPage) return;
const DEBUG = config.debug;
const currentCode = window.name.substring(4);