Skip to content

Commit

Permalink
fix: 修复导入模版生成table时,没有显示number字段类型所在列的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
BaiJiangJie authored and ibuler committed May 24, 2021
1 parent 8a97928 commit 6f65bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ListTable/TableAction/ImportTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default {
if (!d) {
return 0
}
if (!itemColData || !itemColData.length) {
if (typeof itemColData !== 'number' && (!itemColData || !itemColData.length)) {
return 0
}
return itemColData.length
Expand Down

0 comments on commit 6f65bcf

Please sign in to comment.