diff --git a/server/handlers_ontology.go b/server/handlers_ontology.go index 159a4d4..59ba3b7 100644 --- a/server/handlers_ontology.go +++ b/server/handlers_ontology.go @@ -359,10 +359,6 @@ func (a *app) addProperty(c *gin.Context) { c.JSON(400, gin.H{"error": "属性 api_name 不符合 IRI 本地名字符集: " + in.APIName}) return } - if in.DataType == "" { - c.JSON(400, gin.H{"error": "api_name 与 display_name 必填"}) - return - } if in.DataType == "" { in.DataType = "string" }