mirror of
https://github.com/kuaifan/dootask.git
synced 2026-07-20 13:07:58 +00:00
fix(ai-assistant): 深链点击仅移动端收起浮窗,桌面端保留对话
桌面端 AI 浮窗为侧栏不遮挡页面,点深链后应保留以便继续对话; 仅移动端全屏浮窗会遮挡目标页,需收起。按 windowPortrait 区分。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
39b9a72b16
commit
9b41330413
@ -175,7 +175,10 @@ export default {
|
||||
if (!match || !isDeepLinkId(match[1])) {
|
||||
return;
|
||||
}
|
||||
this.beforeNavigate?.();
|
||||
// 移动端浮窗全屏会遮挡目标页,需收起;桌面端为侧浮窗,保留以便继续对话
|
||||
if (this.$store.state.windowPortrait) {
|
||||
this.beforeNavigate?.();
|
||||
}
|
||||
openDeepLink(match[1]);
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user