This commit is contained in:
2026-02-27 16:53:41 +08:00
2 changed files with 2 additions and 0 deletions

View File

@@ -163,6 +163,7 @@ export default {
// 增加接口返回值校验避免res.msg不存在导致的二次报错
if (res.code == 200) {
this.$modal.msgSuccess('同步完成')
this.getList()
}
//this.getList() // 仅接口正常返回时刷新列表
} catch (error) {

View File

@@ -150,6 +150,7 @@ export default {
// 增加接口返回值校验避免res.msg不存在导致的二次报错
if (res.code == 200) {
this.$modal.msgSuccess('同步完成')
this.getList()
}
//this.getList() // 仅接口正常返回时刷新列表
} catch (error) {