@lx-frontend/wrap-element-ui 1.0.19-beta.7 → 1.0.19-beta.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/package.json
CHANGED
|
@@ -174,6 +174,16 @@
|
|
|
174
174
|
{{ column.label }}
|
|
175
175
|
</slot>
|
|
176
176
|
</template>
|
|
177
|
+
<!-- 动态地将父组件传递的所有slot下发给孙子组件(biz-table-header-popover),以实现slot的透传 -->
|
|
178
|
+
<template
|
|
179
|
+
v-for="(_, name) in $slots"
|
|
180
|
+
#[name]="slotProps"
|
|
181
|
+
>
|
|
182
|
+
<slot
|
|
183
|
+
:name="name"
|
|
184
|
+
v-bind="slotProps || column"
|
|
185
|
+
/>
|
|
186
|
+
</template>
|
|
177
187
|
</biz-table-header-popover>
|
|
178
188
|
</template>
|
|
179
189
|
<!-- 默认操作按钮,defaultOperations属性不为空数组时展示。编辑状态下隐藏 -->
|