We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa01d9 commit 2bd389aCopy full SHA for 2bd389a
dashboard/src/components/SearchSettingsModal.vue
@@ -290,16 +290,8 @@ export default defineComponent({
290
// 重置为默认配置(选择所有可用源)
291
selectedSources.value = availableSources.value.map(source => source.key);
292
updateSelectAllState();
293
-
294
- // 清除localStorage中的配置
295
- try {
296
- localStorage.removeItem('searchAggregationSettings');
297
- console.log('已重置搜索源配置');
298
- Message.success('已重置为默认配置');
299
- } catch (error) {
300
- console.error('重置配置失败:', error);
301
- Message.error('重置配置失败');
302
- }
+ // 不进行持久化,需点击“确定”才保存
+ Message.info('已恢复默认选择,点击“确定”后保存');
303
};
304
305
const onSearchFilterChange = () => {
0 commit comments