fix: bug#16312
This commit is contained in:
parent
089a7efbd7
commit
1d60415203
|
@ -184,7 +184,7 @@ const vailId = async (_: Record<string, any>, value: string) => {
|
|||
if (!props?.data?.id && value) {
|
||||
const resp = await isExists(value);
|
||||
if (resp.status === 200 && resp.result) {
|
||||
return Promise.reject('ID重复');
|
||||
return Promise.reject('该ID已存在');
|
||||
} else {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue