---修改输入数字组件bug

1、调整日期范围组件为不可修改
This commit is contained in:
2026-03-09 16:08:50 +08:00
parent afa3de5bdf
commit a5e715e459
31 changed files with 208 additions and 73 deletions

View File

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