fix: 推送合规失败不再重复弹出提示
This commit is contained in:
@@ -1758,7 +1758,10 @@ export default {
|
|||||||
this.onLoad(this.page, this.query);
|
this.onLoad(this.page, this.query);
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$message.error(error?.response?.data?.msg || '推送合规失败');
|
// 拦截器已弹出后端 msg(如特批审核中禁止重推),此处不再重复提示
|
||||||
|
if (!error?._notified) {
|
||||||
|
this.$message.error(error?.response?.data?.msg || '推送合规失败');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.hcsRepushingId = null;
|
this.hcsRepushingId = null;
|
||||||
@@ -1792,7 +1795,10 @@ export default {
|
|||||||
this.onLoad(this.page, this.query);
|
this.onLoad(this.page, this.query);
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$message.error(error?.response?.data?.msg || '批量推送合规失败');
|
// 拦截器已弹出后端 msg,此处不再重复提示
|
||||||
|
if (!error?._notified) {
|
||||||
|
this.$message.error(error?.response?.data?.msg || '批量推送合规失败');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.hcsRepushingId = null;
|
this.hcsRepushingId = null;
|
||||||
|
|||||||
@@ -1681,7 +1681,10 @@ export default {
|
|||||||
this.onLoad(this.page, this.query);
|
this.onLoad(this.page, this.query);
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$message.error(error?.response?.data?.msg || '推送合规失败');
|
// 拦截器已弹出后端 msg,此处不再重复提示
|
||||||
|
if (!error?._notified) {
|
||||||
|
this.$message.error(error?.response?.data?.msg || '推送合规失败');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.hcsRepushingId = null;
|
this.hcsRepushingId = null;
|
||||||
@@ -1715,7 +1718,10 @@ export default {
|
|||||||
this.onLoad(this.page, this.query);
|
this.onLoad(this.page, this.query);
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$message.error(error?.response?.data?.msg || '批量推送合规失败');
|
// 拦截器已弹出后端 msg,此处不再重复提示
|
||||||
|
if (!error?._notified) {
|
||||||
|
this.$message.error(error?.response?.data?.msg || '批量推送合规失败');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.hcsRepushingId = null;
|
this.hcsRepushingId = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user