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

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 };