Commit 8db0bfe9 by zhaochengxiang

资产增加序号

parent 509e2f86
......@@ -71,10 +71,10 @@ const AssetTable = (props) =>{
},
callback: data => {
const _assetNames = [];
(data.data||[]).forEach((asset) => {
(data.data||[]).forEach((asset, index) => {
(asset.elements||[]).forEach((element) => {
if (element.name === '中文名称') {
_assetNames.push(element.value||'');
_assetNames.push(`${index+1}. ${element.value||''}`);
}
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment