mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
form loading slot
This commit is contained in:
@@ -170,7 +170,7 @@ export default {
|
||||
}, [
|
||||
h('div', {
|
||||
class: 'vxe-form--wrapper vxe-row'
|
||||
}, customLayout ? (defaultSlot ? defaultSlot.call(this, h, {}) : []) : formItems.map((item, index) => {
|
||||
}, customLayout ? (defaultSlot ? this.callSlot(defaultSlot, {}, h) : []) : formItems.map((item, index) => {
|
||||
return h(VxeFormConfigItem, {
|
||||
key: index,
|
||||
props: {
|
||||
@@ -181,7 +181,7 @@ export default {
|
||||
h('div', {
|
||||
class: 'vxe-form-slots',
|
||||
ref: 'hideItem'
|
||||
}, customLayout ? [] : (defaultSlot ? this.callSlot(defaultSlot, {}) : [])),
|
||||
}, customLayout ? [] : (defaultSlot ? this.callSlot(defaultSlot, {}, h) : [])),
|
||||
/**
|
||||
* 加载中
|
||||
*/
|
||||
@@ -190,7 +190,7 @@ export default {
|
||||
props: {
|
||||
value: loading
|
||||
}
|
||||
}, loadingSlot ? this.callSlot(loadingSlot, {}) : []),
|
||||
}, loadingSlot ? this.callSlot(loadingSlot, {}, h) : []),
|
||||
/**
|
||||
* 工具提示
|
||||
*/
|
||||
|
||||
@@ -1168,7 +1168,7 @@ export default {
|
||||
icon: loadingOpts.icon,
|
||||
text: loadingOpts.text
|
||||
}
|
||||
}, this.callSlot($scopedSlots.loading, {})),
|
||||
}, this.callSlot($scopedSlots.loading, {}, h)),
|
||||
/**
|
||||
* 筛选
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user