我試圖通過名為func1的異步函數通過列的渲染屬性填充 Antd 表中的列(不在數據中):...
o.render = (text, record) => (<Progress percent = { func1.then((res)=> {return res} ) />)
...問題不是顯示異步函數的返回值,而是顯示[object Promise].我怎樣才能從中提取正確的值并準確顯示?任何指針贊賞..
Antd Column 渲染異步函數
胡說叔叔
2023-04-01 15:55:33