vxe-table 3.5.9-beta.11 → 3.5.9-beta.12
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
|
@@ -140,6 +140,12 @@ export default {
|
|
|
140
140
|
class: ['vxe-button--loading-icon', GlobalConfig.icon.BUTTON_LOADING]
|
|
141
141
|
})
|
|
142
142
|
)
|
|
143
|
+
} else if ($scopedSlots.icon) {
|
|
144
|
+
contents.push(
|
|
145
|
+
h('span', {
|
|
146
|
+
class: 'vxe-button--custom-icon'
|
|
147
|
+
}, $scopedSlots.icon.call(this, {}))
|
|
148
|
+
)
|
|
143
149
|
} else if (icon) {
|
|
144
150
|
contents.push(
|
|
145
151
|
h('i', {
|
|
@@ -151,7 +157,7 @@ export default {
|
|
|
151
157
|
contents.push(
|
|
152
158
|
h('span', {
|
|
153
159
|
class: 'vxe-button--content'
|
|
154
|
-
}, $scopedSlots.default.call(this))
|
|
160
|
+
}, $scopedSlots.default.call(this, {}))
|
|
155
161
|
)
|
|
156
162
|
} else if (content) {
|
|
157
163
|
contents.push(
|