@steedos-widgets/amis-lib 1.3.10 → 1.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4433,6 +4433,7 @@ const getSetListviewFiltersButtonSchema = ()=>{
4433
4433
  }
4434
4434
  }
4435
4435
  ],
4436
+ "className": "steedos-overflow-visible-dialog",
4436
4437
  "showCloseButton": true,
4437
4438
  "showErrorMsg": true,
4438
4439
  "showLoading": true,
@@ -5019,7 +5020,7 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
5019
5020
  "value": crudKeywords,
5020
5021
  "clearable": true,
5021
5022
  "clearAndSubmit": true,
5022
- "searchImediately": true
5023
+ "searchImediately": false
5023
5024
  }
5024
5025
  ]
5025
5026
  }
@@ -7149,7 +7150,9 @@ async function convertSFieldToAmisField(field, readonly, ctx) {
7149
7150
  suffix: "%",
7150
7151
  pipeIn: (value, data) => {
7151
7152
  if(value){
7152
- return value*100;
7153
+ // 因为例如 1.11 * 100 的值不是111,所以调整下。
7154
+ const result = value*100;
7155
+ return Number(result.toFixed(field.scale));
7153
7156
  }
7154
7157
  return value;
7155
7158
  },