perf: 优化重建索引
This commit is contained in:
parent
5940a3379c
commit
751d0a870a
@ -222,8 +222,8 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
message(msg) {
|
message(msg) {
|
||||||
if (msg.url === 'synced') {
|
if (msg.event === 'msg/synced') {
|
||||||
this.syncPercent = msg.body
|
this.syncPercent = msg.data.body
|
||||||
if (this.syncPercent >= 100) {
|
if (this.syncPercent >= 100) {
|
||||||
this.syncLoading = false
|
this.syncLoading = false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user