@dev-tcloud/tcloud-ui 0.0.29 → 0.0.30
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.
|
@@ -1947,7 +1947,7 @@ class CPFPipe {
|
|
|
1947
1947
|
const mask = this.mascara;
|
|
1948
1948
|
let str = v.replace(/\s/g, '');
|
|
1949
1949
|
let strMask = '';
|
|
1950
|
-
if (str.length ==
|
|
1950
|
+
if (str.length == 11) {
|
|
1951
1951
|
let j = 0;
|
|
1952
1952
|
for (let i = 0; i < mask.length; i++) {
|
|
1953
1953
|
if (mask[i] == '#') {
|