07 2021 档案

摘要:const toString = Object.prototype.toString; export function is(val: unknown, type: string) { return toString.call(val) `[object ${type}]`; } export fu 阅读全文
posted @ 2021-07-30 15:43 安静的女汉纸 阅读(110) 评论(0) 推荐(0)
摘要:1、直接利用rowClassName这个参数,直接上代码 <a-table :rowClassName="(record,index)=>{ retrun index selectIndex?'active':' '}" :customRow="rowClick" ></table> data(){ 阅读全文
posted @ 2021-07-29 17:30 安静的女汉纸 阅读(3273) 评论(0) 推荐(0)