Kaynağa Gözat

fix(channel): 修复多密钥管理弹窗索引显示,将索引值调整为从1开始 (#4231)

wans10 3 hafta önce
ebeveyn
işleme
d0c2d2c6fb

+ 1 - 1
web/src/components/table/channels/modals/MultiKeyManageModal.jsx

@@ -360,7 +360,7 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
     {
       title: t('索引'),
       dataIndex: 'index',
-      render: (text) => `#${text}`,
+      render: (text) => `#${Number(text) + 1}`,
     },
     // {
     //   title: t('密钥预览'),