<el-table-column type="index" label="序號" : index="indexMethod" width="90" align="center" ></el-table-column> ...... //序號Index 翻頁遞增 currentPage 當前頁, fetchNum 當前頁顯示條數 indexMethod(index){ return(this.currentPage-1)*this.fetchNum +index+1; }
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/5977.html
標籤:HTML5
上一篇:vscode格式化配置
