@steedos-widgets/amis-lib 1.1.8 → 1.1.9

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.umd.js CHANGED
@@ -406,7 +406,7 @@
406
406
  * @Author: baozhoutao@steedos.com
407
407
  * @Date: 2022-05-23 09:53:08
408
408
  * @LastEditors: baozhoutao@steedos.com
409
- * @LastEditTime: 2023-03-09 10:00:44
409
+ * @LastEditTime: 2023-04-10 11:22:54
410
410
  * @Description:
411
411
  */
412
412
 
@@ -601,6 +601,7 @@
601
601
  case 'number':
602
602
  case 'currency':
603
603
  return await getNumberTpl(field);
604
+ case 'percent':
604
605
  case 'formula':
605
606
  case 'summary':
606
607
  return getUiFieldTpl(field)
@@ -633,7 +634,7 @@
633
634
  if(_$1.includes(['time','date','datetime','boolean','number','currency'], field.type)){
634
635
  fieldsName.push(`${field.name}`);
635
636
  }
636
- if(_$1.includes(['time','filesize','date','datetime','boolean','number','currency', 'select', 'file', 'image', 'avatar', 'formula', 'summary', 'object', 'grid'], field.type)){
637
+ if(_$1.includes(['percent','time','filesize','date','datetime','boolean','number','currency', 'select', 'file', 'image', 'avatar', 'formula', 'summary', 'object', 'grid'], field.type)){
637
638
  displayFields.push(`${field.name}`);
638
639
  }
639
640
  }