src/templates/sharecomponent/tablecomponent/index.jsx
@@ -112,7 +112,7 @@ if (/^nvarchar/.test(_type)) { try { // 存在max _length = +_type.match(/\d+/)[0] || 50 } catch { } catch (e) { _length = 2048 } _type = 'text' @@ -137,6 +137,7 @@ datatype: _type, decimal: _decimal, length: _length, $datatype: item.FieldType.toLowerCase() } }) } @@ -184,7 +185,7 @@ if (/^nvarchar/.test(_type)) { try { // 存在max _length = +_type.match(/\d+/)[0] || 50 } catch { } catch (e) { _length = 2048 } _type = 'text'