n20-common-lib 3.0.26 → 3.0.28
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
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
@mouseenter="hoverHeaderProp = item.prop"
|
|
171
171
|
@mouseleave="hoverHeaderProp = null"
|
|
172
172
|
>
|
|
173
|
-
<slot name="
|
|
173
|
+
<slot :name="`header_${column.field}`" :column="column">{{ column.title }}</slot>
|
|
174
174
|
<i
|
|
175
175
|
v-if="item.tooltip"
|
|
176
176
|
class="n20-icon-xinxitishi vxe-table--column__icon m-l-ss"
|
|
@@ -191,6 +191,9 @@
|
|
|
191
191
|
></i>
|
|
192
192
|
</div>
|
|
193
193
|
</template>
|
|
194
|
+
<template #default="{ row }">
|
|
195
|
+
<slot :name="`cell_${item.prop}`" :row="row">{{ row[item.prop] }}</slot>
|
|
196
|
+
</template>
|
|
194
197
|
</vxe-column>
|
|
195
198
|
</template>
|
|
196
199
|
<vxe-column
|