* index: fix goBack not work.

This commit is contained in:
sunhao
2024-01-17 10:44:52 +08:00
parent 89df19c313
commit 2cebd723c8
+1 -1
View File
@@ -496,7 +496,7 @@ function goBack(target, url, startState)
if($.apps.openedMap[target]) return openApp(target);
if(target.includes('-'))
{
const parts = target.split('-');
const parts = target.split(',').shift().split('-');
return openApp($.createLink(parts[0], parts[1]));
}
}