mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 05:25:39 +08:00
修复进入收藏标签后自动跳转到第一个标签的BUG
This commit is contained in:
parent
6e19a5c8ee
commit
01f5becfb6
@ -87,9 +87,11 @@ export default {
|
||||
const savedTagOrder = dbManager.getDB(TAG_ORDER_KEY);
|
||||
if (savedTagOrder.length) {
|
||||
this.savedTagOrder = savedTagOrder;
|
||||
this.commandManager.changeCurrentTag(this.savedTagOrder[0]);
|
||||
} else {
|
||||
this.commandManager.changeCurrentTag(this.allQuickCommandTags[0]);
|
||||
}
|
||||
if (!this.commandManager.state.currentTag) {
|
||||
this.commandManager.changeCurrentTag(
|
||||
this.savedTagOrder[0] || this.allQuickCommandTags[0]
|
||||
);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user