---修改输入数字组件bug
1、调整日期范围组件为不可修改
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
import { NoValueType } from "@grapecity/activereports/core";
|
||||
|
||||
declare type ValueType = string | number | undefined;
|
||||
|
||||
|
||||
@ -45,7 +43,7 @@ export class InputNumberModel {
|
||||
}
|
||||
|
||||
viewToModel(vv: ValueType):ValueType {
|
||||
if(vv===undefined || vv=="" || vv=="-") return;
|
||||
if(vv===undefined || vv==="" || vv==="-") return;
|
||||
if(!this.focus){
|
||||
this.viewValue = Number.format(Number.parse(vv),this.numberFormat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user