mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-04 00:32:26 +08:00
fix: 修复 API Key 访问限制字段无法清除的问题
- 统一前端创建和更新 API Key 时的空数组处理逻辑 - 后端创建和更新接口都支持空数组转 NULL(表示不限制) - 开启自动刷新时立即刷新一次数据
This commit is contained in:
@@ -301,6 +301,7 @@ function stopGlobalAutoRefresh() {
|
||||
function handleAutoRefreshChange(value: boolean) {
|
||||
globalAutoRefresh.value = value
|
||||
if (value) {
|
||||
refreshData() // 立即刷新一次
|
||||
startGlobalAutoRefresh()
|
||||
} else {
|
||||
stopGlobalAutoRefresh()
|
||||
|
||||
Reference in New Issue
Block a user