@jctrans-materials/comps-vue3 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,8 @@ interface ValidationRule {
|
|
|
5
5
|
type?: string;
|
|
6
6
|
msg?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function validateUserEmail(rule: ValidationRule, value: string | null | undefined, callback: (error?: Error) => void, isEn?: boolean
|
|
8
|
+
export declare function validateUserEmail(rule: ValidationRule, value: string | null | undefined, callback: (error?: Error) => void, isEn?: boolean, // 注入文案
|
|
9
|
+
checkExist?: boolean): Promise<void>;
|
|
9
10
|
/**
|
|
10
11
|
* 整合后的用户姓名校验
|
|
11
12
|
* @param {Object} rule 校验规则
|
|
@@ -38,7 +39,7 @@ export declare function validateUserPass(rule: any, value: any, callback: any, i
|
|
|
38
39
|
* @param {Function} callback 回调函数
|
|
39
40
|
* @param {Boolean} isEn 是否为英文环境
|
|
40
41
|
*/
|
|
41
|
-
export declare function validateUserMobilefive(rule: any, value: any, callback: any, isEn?: boolean): Promise<any>;
|
|
42
|
+
export declare function validateUserMobilefive(rule: any, value: any, callback: any, isEn?: boolean, checkExist?: boolean): Promise<any>;
|
|
42
43
|
/**
|
|
43
44
|
* 空格处理工具函数
|
|
44
45
|
*/
|