chenyang 5 months ago
parent
commit
6f1b4237ae
  1. 7
      src/pages/websites/ssl/dns/DNSList.tsx

7
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 [
<Action key="edit"
as={'a'}
onClick={() => {
form.setFieldsValue(record)
setOpen(true)
}}>{t('actions.edit')}</Action>,
<Popconfirm
key={'del_confirm'}
disabled={isDeleting}

Loading…
Cancel
Save