Skip to content

Commit 98ad783

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 3839681 + 0b04372 commit 98ad783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/smart-apollo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ export class SmartQuery extends SmartApollo {
228228
this.vm[this.options.loadingKey] += value
229229
}
230230

231-
if (this.options.loadingChangeCb) {
232-
this.options.loadingChangeCb.call(this.vm, value === 1, value)
231+
if (this.options.watchLoading) {
232+
this.options.watchLoading.call(this.vm, value === 1, value)
233233
}
234234
}
235235

0 commit comments

Comments
 (0)