liqiuying 2 kuukautta sitten
vanhempi
commit
b626b47e0d
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      entrypoints/popup/pages/DesignPic.tsx

+ 6 - 2
entrypoints/popup/pages/DesignPic.tsx

@@ -1,5 +1,5 @@
 import React, { useState, useEffect } from 'react'
-import { Button, Table, Input, Message, Loading, Radio } from '@alifd/next';
+import { Button, Table, Input, Message, Loading, Radio, Balloon } from '@alifd/next';
 import { CustomMessage } from '@/components/CustomMessage'
 import { urlToFile } from './utils';
 const RadioGroup = Radio.Group
@@ -745,7 +745,11 @@ export default function DesignPic() {
           <Table.Column title="定制区域" cell={label_render} align="center" />
           <Table.Column title="文字" cell={text_render} align="center" />
           <Table.Column title="图片" cell={pic_render} align="center" />
-          <Table.Column title="操作" cell={option_render} align="center" />
+          <Table.Column title={<div className='flex justify-center items-center'>
+            <div>操作</div><Balloon v2 closable={false} trigger={<a style={{ marginLeft: 5, display: "block", width: 20, height: 20, borderRadius: "50%", border: "1px solid", padding: 3, textDecoration: 'none' }}>?</a>} align="t" triggerType="hover" style={{ width: 300 }}>
+              图片上传失败时,请重新点击上传定制信息按钮
+            </Balloon>
+          </div>} cell={option_render} align="center" />
         </Table>
         <p className='text-red-500'>ps:若获取不到数据,可能是插件未连接成功,请刷新页面</p>
       </div>