* [misc] fix js error on click back button.

This commit is contained in:
sunhao
2025-12-02 16:45:01 +08:00
parent ec36d50b9d
commit f8d4af8cfe
+1 -1
View File
@@ -1521,7 +1521,7 @@
options.url = url;
}
if(url.includes('#'))
if(typeof url === 'string' && url.includes('#'))
{
const hash = url.split('#')[1];
if(hash === 'open-modal' || hash.startsWith('open-modal?'))