From 2cebd723c85b2c42c8e1671dd11761e26022be33 Mon Sep 17 00:00:00 2001 From: sunhao Date: Wed, 17 Jan 2024 10:44:49 +0800 Subject: [PATCH] * index: fix goBack not work. --- module/index/js/index.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/index/js/index.ui.js b/module/index/js/index.ui.js index f4ff85c2cf..4967d1985c 100644 --- a/module/index/js/index.ui.js +++ b/module/index/js/index.ui.js @@ -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])); } }