正则:只能填写正数(正整数和小数) October_CanYang 2022-01-26 1,070 阅读1分钟 /^(([1-9][0-9]*(\.)?[0-9]*)|(0(\.)([0-9]*))|(0))$/