@xilonglab/vue-main 1.3.28 → 1.3.29
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
|
@@ -116,9 +116,10 @@ const { refs, api, params, obj, chartOptions, total } = inject('injections')
|
|
|
116
116
|
<template v-if="!col.hidden">
|
|
117
117
|
<!-- 支持通过 slot 属性使用插槽 -->
|
|
118
118
|
<slot
|
|
119
|
-
v-if="col.slot"
|
|
120
|
-
:name="`${col.prop}
|
|
119
|
+
v-if="col.type === 'slot'"
|
|
120
|
+
:name="`${col.prop}-col`"
|
|
121
121
|
/>
|
|
122
|
+
|
|
122
123
|
<!-- 支持直接指定组件引用 -->
|
|
123
124
|
<component
|
|
124
125
|
v-else-if="col.component"
|
|
@@ -197,8 +198,8 @@ const { refs, api, params, obj, chartOptions, total } = inject('injections')
|
|
|
197
198
|
:p="col.prop"
|
|
198
199
|
>
|
|
199
200
|
<slot
|
|
200
|
-
v-if="col.slot"
|
|
201
|
-
:name="`${col.prop}
|
|
201
|
+
v-if="col.type === 'slot'"
|
|
202
|
+
:name="`${col.prop}-form`"
|
|
202
203
|
/>
|
|
203
204
|
<component
|
|
204
205
|
v-else
|