修改
This commit is contained in:
@@ -234,7 +234,7 @@ export async function blobValidate(data) {
|
||||
* 注:prop,title有一个必传
|
||||
*/
|
||||
export function flexWidth(prop, tableData, title, num = 0) {
|
||||
if (tableData.length === 0) { // 表格没数据不做处理
|
||||
if (!tableData || tableData.length === 0) { // 表格没数据不做处理
|
||||
return
|
||||
}
|
||||
let flexWidth = 0// 初始化表格列宽
|
||||
|
||||
Reference in New Issue
Block a user