From 6f1b4237ae71a65f31f43e9ac8e34baf79829771 Mon Sep 17 00:00:00 2001 From: chenyang Date: Thu, 27 Jun 2024 15:00:16 +0700 Subject: [PATCH] Edit --- src/pages/websites/ssl/dns/DNSList.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/websites/ssl/dns/DNSList.tsx b/src/pages/websites/ssl/dns/DNSList.tsx index 81a6d89..6ccde0b 100644 --- a/src/pages/websites/ssl/dns/DNSList.tsx +++ b/src/pages/websites/ssl/dns/DNSList.tsx @@ -3,6 +3,7 @@ import { BetaSchemaForm, ProColumns, ProFormColumnsType, ProTable } from '@ant-d import { useTranslation } from '@/i18n.ts' import { useAtom, useAtomValue } from 'jotai' import { Button, Form, Popconfirm } from 'antd' +import Action from '@/components/action/Action.tsx' import { deleteDNSAtom, dnsListAtom, @@ -203,6 +204,12 @@ const DNSList = () => { valueType: 'option', render: (_, record) => { return [ + { + form.setFieldsValue(record) + setOpen(true) + }}>{t('actions.edit')},