Update NSpinnerTag.ts

This commit is contained in:
Xuan Sang LE 2020-06-25 14:54:38 +02:00 committed by GitHub
parent cb318c0547
commit b54fdbedf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,10 @@ namespace OS {
* @memberof NSpinnerTag
*/
set value(v: number) {
if(this._value === v || isNaN(v))
{
return;
}
this._value = v;
$(this.refs.holder).val(this._value);
const evt = { id: this.aid, data: v };