perf: 优化重建索引

This commit is contained in:
jmal 2024-04-23 09:08:41 +08:00
parent 5940a3379c
commit 751d0a870a

View File

@ -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
}