resolver-egretimp-plus 0.0.145 → 0.0.147

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.145",
3
+ "version": "0.0.147",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -61,13 +61,17 @@ const level = computed(() => {
61
61
  return props.config.level || tabpanes.value.find(tabpane => hasOwn(tabpane, 'level'))?.level || 1
62
62
  })
63
63
  const transTabsProps = computed(() => {
64
- return level.value == 1 ? {
64
+ const polyProps = level.value == 1 ? {
65
65
  stretch: true,
66
66
  type: 'border-card'
67
67
  } : level.value == 2 ? {
68
68
  } : level.value == 3 ? {
69
69
  type: 'card'
70
- } : tabsProps.value
70
+ } : {}
71
+ return {
72
+ ...tabsProps.value,
73
+ ...polyProps
74
+ }
71
75
  })
72
76
  /**
73
77
  * 层级为一的时候,并且只有一个页签,激活的页签头,应该有分割线
@@ -23,6 +23,7 @@ export const NOT_NEED_FORM_ITEM_META_TYPE = [
23
23
  'CustomComponentTable',
24
24
  'CustomComponentRow',
25
25
  'CustomComponentCol',
26
+ 'CustomComponentCycle',
26
27
 
27
28
  'CustomComponentCardH5',
28
29
  'CustomComponentCollapseH5',
@@ -618,7 +618,7 @@ function generateFormItemPc (config, lang, compProps, params,) {
618
618
  slots.label = () => createFormLable(config, lang)
619
619
  }
620
620
  return (
621
- <formItemComp class="custom-form-item" {...props}>{slots}</formItemComp>
621
+ <formItemComp key={config.requiredFlag} class="custom-form-item" {...props}>{slots}</formItemComp>
622
622
  )
623
623
  }
624
624
  }