File tree 1 file changed +14
-11
lines changed 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -995,17 +995,20 @@ export default {
995
995
}
996
996
// Set internal busy state
997
997
this . localBusy = true
998
- // Call provider function with context and optional callback
999
- const data = this . items ( this . context , this . _providerSetLocal )
1000
- if ( data && data . then && typeof data . then === 'function' ) {
1001
- // Provider returned Promise
1002
- data . then ( items => {
1003
- this . _providerSetLocal ( items )
1004
- } )
1005
- } else {
1006
- // Provider returned Array data
1007
- this . _providerSetLocal ( data )
1008
- }
998
+
999
+ // Call provider function with context and optional callback after DOM is fully updated
1000
+ this . $nextTick ( function ( ) {
1001
+ const data = this . items ( this . context , this . _providerSetLocal )
1002
+ if ( data && data . then && typeof data . then === 'function' ) {
1003
+ // Provider returned Promise
1004
+ data . then ( items => {
1005
+ this . _providerSetLocal ( items )
1006
+ } )
1007
+ } else {
1008
+ // Provider returned Array data
1009
+ this . _providerSetLocal ( data )
1010
+ }
1011
+ } )
1009
1012
} ,
1010
1013
getTdValues ( item , key , tdValue , defValue ) {
1011
1014
const parent = this . $parent
You can’t perform that action at this time.
0 commit comments