resolver-egretimp-plus 0.0.145 → 0.0.146
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
|
@@ -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
|
-
|
|
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
|
-
} :
|
|
70
|
+
} : {}
|
|
71
|
+
return {
|
|
72
|
+
...tabsProps.value,
|
|
73
|
+
...polyProps
|
|
74
|
+
}
|
|
71
75
|
})
|
|
72
76
|
/**
|
|
73
77
|
* 层级为一的时候,并且只有一个页签,激活的页签头,应该有分割线
|