feat: 新增预算助手报告组件并优化报销交互细节
新增预算助手报告视图模型和组件,优化报销洞察面板和消息项 样式细节,完善预算中心页面布局和文档中心视图,增强报销创 建会话管理和提交编排器,调整 Vite 构建配置,补充单元测试。
This commit is contained in:
@@ -264,7 +264,14 @@ export function useAppShell() {
|
||||
}
|
||||
|
||||
async function openSmartEntry(payload = {}) {
|
||||
if (smartEntryOpen.value) {
|
||||
const shouldReplaceOpenEntry = Boolean(
|
||||
payload?.source === 'budget'
|
||||
|| payload?.sessionType
|
||||
|| String(payload?.prompt || '').trim()
|
||||
|| (Array.isArray(payload?.files) && payload.files.length)
|
||||
|| payload?.conversation
|
||||
)
|
||||
if (smartEntryOpen.value && !shouldReplaceOpenEntry) {
|
||||
smartEntryRevealToken.value += 1
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user