1. 代码 TextField{ id: _mTextInput //显示格式 xx.x validator: RegularExpressionValidator { regularExpression: /(\d{ 1,2})([.]\d{ 1