mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-21 17:32:47 +01:00
Update NSpinnerTag.ts
This commit is contained in:
parent
cb318c0547
commit
b54fdbedf6
@ -156,6 +156,10 @@ namespace OS {
|
|||||||
* @memberof NSpinnerTag
|
* @memberof NSpinnerTag
|
||||||
*/
|
*/
|
||||||
set value(v: number) {
|
set value(v: number) {
|
||||||
|
if(this._value === v || isNaN(v))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
this._value = v;
|
this._value = v;
|
||||||
$(this.refs.holder).val(this._value);
|
$(this.refs.holder).val(this._value);
|
||||||
const evt = { id: this.aid, data: v };
|
const evt = { id: this.aid, data: v };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user