fix: 修改错误提示信息,更新表格列配置,移除银行卡ID列
This commit is contained in:
@@ -57,12 +57,18 @@ export function safeClient<T, E>(
|
||||
isPending.value = false;
|
||||
});
|
||||
|
||||
if (res.error && res.status === 418) {
|
||||
if (!options.silent) {
|
||||
const msg = $t((res.error as any).value.code, {
|
||||
...(res.error as any).value.context
|
||||
});
|
||||
window.$message?.create(msg, {
|
||||
if (res.error) {
|
||||
if (res.status === 418) {
|
||||
if (!options.silent) {
|
||||
const msg = $t((res.error as any).value.code, {
|
||||
...(res.error as any).value.context
|
||||
});
|
||||
window.$message?.create(msg, {
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
} else if (!options.silent) {
|
||||
window.$message?.create((res.error as any).message || 'Error', {
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user