fix: 发布助手收起改为隐藏,展开不再重新挂载消息列表

This commit is contained in:
2026-10-19 15:38:32 +08:00
parent d143ebbe09
commit 871628bf7c
@@ -488,7 +488,7 @@ onBeforeUnmount(() => abort?.abort());
<template>
<!-- 收起:窄条(悬停 bot→展开图标,对齐智能助手) -->
<div
v-if="collapsed"
v-show="collapsed"
class="publish-agent-rail border-border flex h-full w-14 shrink-0 flex-col items-center border-l px-1.5 py-2"
>
<Tooltip title="展开发布助手" placement="left">
@@ -512,8 +512,8 @@ onBeforeUnmount(() => abort?.abort());
<!-- 展开 -->
<aside
v-else
class="publish-agent-panel border-border flex h-full min-h-0 w-full min-w-[280px] flex-col border-l"
v-show="!collapsed"
class="publish-agent-panel border-border flex h-full min-h-0 w-full min-w-0 flex-col border-l"
>
<header class="flex h-12 shrink-0 items-center gap-1 px-3">
<div class="min-w-0 flex-1 truncate text-sm font-semibold">发布助手</div>