src/templates/sharecomponent/tablecomponent/index.jsx
@@ -182,6 +182,7 @@ let _type = item.FieldType.toLowerCase() let _decimal = 0 let _length = 50 if (/^nvarchar/.test(_type)) { try { // 存在max _length = +_type.match(/\d+/)[0] || 50 @@ -209,7 +210,8 @@ type: _type, datatype: _type, decimal: _decimal, length: _length length: _length, $datatype: item.FieldType.toLowerCase() } }) }