Browse Source

Timestamp类型识别为时间类型

zhuth 6 years ago
parent
commit
737790d32d

+ 1 - 1
src/components/dataSourceDetail/columnType.json

@@ -3,7 +3,7 @@
     "columnType": "index",
     "label": "索引"
 }, {
-    "dataType": ["Date"],
+    "dataType": ["Date", "Timestamp"],
     "columnType": "time",
     "label": "时间"
 }, {

+ 1 - 0
src/models/defaultColumnType.json

@@ -1,6 +1,7 @@
 {
     "String": "categorical",
     "Date": "time",
+    "Timestamp": "time",
     "BigDecimal": "scale",
     "Double": "scale",
     "Long": "scale",