|  | @@ -89,7 +89,7 @@ export function validateExist(rule: any, value: any, callback: any, isEdit: bool
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |    getObj({ [rule.field]: value }).then((response) => {
 |  |    getObj({ [rule.field]: value }).then((response) => {
 | 
												
													
														
															|  |      const result = response.data;
 |  |      const result = response.data;
 | 
												
													
														
															|  | -    if (result !== null) {
 |  | 
 | 
												
													
														
															|  | 
 |  | +    if (result !== null && result.length > 0) {
 | 
												
													
														
															|  |        callback(new Error('数据已经存在'));
 |  |        callback(new Error('数据已经存在'));
 | 
												
													
														
															|  |      } else {
 |  |      } else {
 | 
												
													
														
															|  |        callback();
 |  |        callback();
 |