feat: 更新表格组件,添加发行期管理功能;优化表单验证逻辑,调整字段名称和状态处理
This commit is contained in:
@@ -64,9 +64,7 @@ export function safeClient<T, E>(
|
||||
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
|
||||
});
|
||||
const msg = (res.error as any).value.message;
|
||||
window.$message?.create(msg, {
|
||||
type: 'error'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user