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