fix(amis-saas-8191): 修复固定高度/宽度、最大/小高度宽度设置失效问题

Change-Id: I1202af12f4de84f036233251349832406e2c5f90
This commit is contained in:
wibetter 2022-11-18 16:44:35 +08:00
parent 0be10041a3
commit c6199b8f24
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "amis-editor",
"version": "5.2.1-beta.9",
"version": "5.2.1-beta.10",
"description": "amis 可视化编辑器",
"main": "lib/index.js",
"module": "esm/index.js",

View File

@ -685,7 +685,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut,
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;
@ -724,7 +724,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;
@ -763,7 +763,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;
@ -876,7 +876,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;
@ -915,7 +915,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;
@ -954,7 +954,7 @@ setSchemaTpl(
// pipeOut: config?.pipeOut
pipeOut: (value: string) => {
const curValue = parseInt(value);
if (curValue && curValue === 0) {
if (curValue || curValue === 0) {
return value;
} else {
return undefined;