update
This commit is contained in:
@@ -230,7 +230,7 @@ onMounted(() => {
|
||||
cols: 80, // 初始列数
|
||||
allowTransparency: true,
|
||||
disableStdin: false,
|
||||
convertEol: false,
|
||||
convertEol: true,
|
||||
scrollback: getScrollbackValue(terminalScrollbackLimitNumber.value), // Use setting from store
|
||||
scrollOnUserInput: true, // 输入时滚动到底部
|
||||
...props.options, // 合并外部传入的选项
|
||||
|
||||
@@ -93,10 +93,6 @@ export const useFavoritePathsStore = defineStore('favoritePaths', {
|
||||
} catch (err: any) {
|
||||
this.error = err.message || 'Failed to fetch favorite paths';
|
||||
console.error('Error fetching favorite paths:', err);
|
||||
notificationsStore.addNotification({
|
||||
message: t('favoritePaths.notifications.fetchError', 'Failed to load favorite paths.'),
|
||||
type: 'error',
|
||||
});
|
||||
this.isInitialized = false; // +++ 如果获取失败,允许重试初始化 +++
|
||||
} finally {
|
||||
this.isLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user