vue使用render函數渲染table表格某一列的數組數據

vue使用render函數渲染table表格某一列的數組數據 當所須要渲染的表格數據是一個數組類型的數據時,能夠使用render函數,以下所示: 1.先在須要顯示的表頭中寫出關鍵字 <Table :columns="columns1" :data="currentUserList"></Table> 2.js文件中 return { columns1: [
相關文章
相關標籤/搜索