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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "3.5.9-beta.11",
3
+ "version": "3.5.9-beta.12",
4
4
  "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -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(