Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
212 views
in Technique[技术] by (71.8m points)

iview的表格如何添加行键Row-Key

iview表格的这种格式,如果我要在字段fd这里,添加row-key,要怎么做呢,官方文档只是说出有这个api,不怎么会!

image.png

想使用row-key,不知道怎么写:(

image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
<Table row-key="fd" :columns="header" :data="nodes"></Table>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...