()
| 66 | const formAPISettingGeneral = useRef(); |
| 67 | // 通用设置 - Notice |
| 68 | const submitNotice = async () => { |
| 69 | try { |
| 70 | setLoadingInput((loadingInput) => ({ ...loadingInput, Notice: true })); |
| 71 | await updateOption('Notice', inputs.Notice); |
| 72 | showSuccess(t('公告已更新')); |
| 73 | } catch (error) { |
| 74 | console.error(t('公告更新失败'), error); |
| 75 | showError(t('公告更新失败')); |
| 76 | } finally { |
| 77 | setLoadingInput((loadingInput) => ({ ...loadingInput, Notice: false })); |
| 78 | } |
| 79 | }; |
| 80 | // 个性化设置 |
| 81 | const formAPIPersonalization = useRef(); |
| 82 | // 个性化设置 - SystemName |
nothing calls this directly
no test coverage detected