diff --git a/public/components/property/addLocation/addLocation.js b/public/components/property/addLocation/addLocation.js index d88cd2272..aa1f3c759 100755 --- a/public/components/property/addLocation/addLocation.js +++ b/public/components/property/addLocation/addLocation.js @@ -33,7 +33,7 @@ errInfo: "位置名称不能为空" }, { - limit: "max", + limit: "maxin", param: "1,100", errInfo: "位置名称不能超过100位" }, diff --git a/public/components/property/editLocation/editLocation.js b/public/components/property/editLocation/editLocation.js index 4c7572a12..270b0af03 100755 --- a/public/components/property/editLocation/editLocation.js +++ b/public/components/property/editLocation/editLocation.js @@ -32,7 +32,7 @@ errInfo: "位置名称不能为空" }, { - limit: "max", + limit: "maxin", param: "1,100", errInfo: "位置名称不能超过100位" },