fix: core download page error

This commit is contained in:
Bai
2024-12-20 15:55:52 +08:00
committed by Bryan
parent be57b101ff
commit 7e6d2749ae
2 changed files with 4 additions and 1 deletions

View File

@@ -147,6 +147,9 @@ function activeNav(prefix) {
}
var path = document.location.pathname;
path = path.replace(prefix, '');
if (path === '/core/download/') {
return
}
var urlArray = path.split("/");
var app = urlArray[1];
var resource = urlArray[2];