fix: Avoid children not updating #106
parent
20590c834c
commit
becdaf289e
|
@ -129,7 +129,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='Modal'
|
componentName='Modal'
|
||||||
defaultLocale={getConfirmLocale()}
|
defaultLocale={getConfirmLocale()}
|
||||||
children={this.renderFooter}
|
scopedSlots={
|
||||||
|
{ default: this.renderFooter }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
const footer = getComponentFromProp(this, 'footer')
|
const footer = getComponentFromProp(this, 'footer')
|
||||||
|
|
|
@ -71,7 +71,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='Pagination'
|
componentName='Pagination'
|
||||||
defaultLocale={enUS}
|
defaultLocale={enUS}
|
||||||
children={this.renderPagination}
|
scopedSlots={
|
||||||
|
{ default: this.renderPagination }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
@ -156,7 +156,6 @@ export default {
|
||||||
class: cls,
|
class: cls,
|
||||||
ref: 'vcSelect',
|
ref: 'vcSelect',
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<VcSelect {...selectProps}>
|
<VcSelect {...selectProps}>
|
||||||
{
|
{
|
||||||
|
@ -176,7 +175,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='Select'
|
componentName='Select'
|
||||||
defaultLocale={defaultLocale.Select}
|
defaultLocale={defaultLocale.Select}
|
||||||
children={this.renderSelect}
|
scopedSlots={
|
||||||
|
{ default: this.renderSelect }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
@ -171,7 +171,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='TimePicker'
|
componentName='TimePicker'
|
||||||
defaultLocale={defaultLocale}
|
defaultLocale={defaultLocale}
|
||||||
children={this.renderTimePicker}
|
scopedSlots={
|
||||||
|
{ default: this.renderTimePicker }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
@ -423,7 +423,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='Transfer'
|
componentName='Transfer'
|
||||||
defaultLocale={defaultLocale.Transfer}
|
defaultLocale={defaultLocale.Transfer}
|
||||||
children={this.renderTransfer}
|
scopedSlots={
|
||||||
|
{ default: this.renderTransfer }
|
||||||
|
}
|
||||||
>
|
>
|
||||||
</LocaleReceiver>
|
</LocaleReceiver>
|
||||||
)
|
)
|
||||||
|
|
|
@ -228,7 +228,9 @@ export default {
|
||||||
<LocaleReceiver
|
<LocaleReceiver
|
||||||
componentName='Upload'
|
componentName='Upload'
|
||||||
defaultLocale={defaultLocale.Upload}
|
defaultLocale={defaultLocale.Upload}
|
||||||
children={this.renderUploadList}
|
scopedSlots={
|
||||||
|
{ default: this.renderUploadList }
|
||||||
|
}
|
||||||
>
|
>
|
||||||
</LocaleReceiver>
|
</LocaleReceiver>
|
||||||
) : null
|
) : null
|
||||||
|
|
Loading…
Reference in New Issue