【调整】初始化阶段周期选择时间,随机值

This commit is contained in:
chudong
2025-05-15 17:45:50 +08:00
parent f368948055
commit ee9b49b757
95 changed files with 360 additions and 155 deletions

View File

@@ -190,10 +190,18 @@ export const useLayoutStore = defineStore('layout-store', () => {
type: item.type,
})) || []
} catch (error) {
dnsProvider.value = []
handleError(error)
}
}
/**
* @description 重置DNS提供商
*/
const resetDnsProvider = (): void => {
dnsProvider.value = []
}
// ==============================
// 表单处理方法
// ==============================
@@ -218,6 +226,7 @@ export const useLayoutStore = defineStore('layout-store', () => {
handleExpand,
fetchNotifyProvider,
fetchDnsProvider,
resetDnsProvider,
}
})