coordinate:{ validator: function (value) { return /^[-]?(\d|([1-9]\d)|(1[0-7]\d)|(180))(\.\d*),[-]?(\d|([1-8]\d)|(90))(\.\d*)?$/.test(value); },message: '坐标格式不正确' }坐标格式:116.39852,39.936625 原文链接:https://www.f2er.com/regex/362136.html
coordinate:{ validator: function (value) { return /^[-]?(\d|([1-9]\d)|(1[0-7]\d)|(180))(\.\d*),[-]?(\d|([1-8]\d)|(90))(\.\d*)?$/.test(value); },message: '坐标格式不正确' }坐标格式:116.39852,39.936625 原文链接:https://www.f2er.com/regex/362136.html