1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

fix wiki config error (#6087)

This commit is contained in:
Michael An
2024-05-16 10:59:50 +08:00
committed by GitHub
parent 17adeb1c9c
commit 64001350a3
5 changed files with 44 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ const generatorBase64Code = (keyLength = 4) => {
return key;
};
const generateUniqueId = (navigation, length = 4) => {
const generateUniqueId = (navigation = [], length = 4) => {
let idMap = {};
function recurseItem(item) {
if (!item) return;