mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
Merge branch 'feature/1.8-cx' into 'main'
feature/1.8-Improve system observability See merge request apipark/APIPark!376
This commit is contained in:
@@ -39,6 +39,7 @@ const ApiKeyContent: React.FC<ApiKeyContentProps> = forwardRef(({ provider, enti
|
||||
|
||||
const handleOk = async () => {
|
||||
try {
|
||||
// 表单校验
|
||||
const values = await form.validateFields()
|
||||
const { expire_time, ...restValues } = values
|
||||
const expireTime = neverExpire ? 0 : Math.trunc(expire_time.valueOf() / 1000)
|
||||
|
||||
Reference in New Issue
Block a user