chore: bump version to 0.3.20 + metona-toast 迁移至 @metona-team 私有源
This commit is contained in:
@@ -83,7 +83,7 @@ export function useKeyboardShortcuts(): void {
|
||||
}).catch((err) => {
|
||||
console.error('[KeyboardShortcuts]', err);
|
||||
// 与 Sidebar/CommandPalette 入口对齐:失败时弹 toast 提示用户
|
||||
import('metona-toast').then((mod) => mod.default.error('创建会话失败')).catch(() => {});
|
||||
import('@metona-team/metona-toast').then((mod) => mod.default.error('创建会话失败')).catch(() => {});
|
||||
});
|
||||
}
|
||||
e.preventDefault();
|
||||
@@ -171,7 +171,7 @@ export function useKeyboardShortcuts(): void {
|
||||
navigator.clipboard.writeText(lastAssistant.content).catch((err) => {
|
||||
console.error('[KeyboardShortcuts]', err);
|
||||
// 复制是用户主动操作,失败时必须有反馈
|
||||
import('metona-toast').then((mod) => mod.default.error('复制失败')).catch(() => {});
|
||||
import('@metona-team/metona-toast').then((mod) => mod.default.error('复制失败')).catch(() => {});
|
||||
});
|
||||
}
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user