bkui-vue 1.0.3-beta.64 → 1.0.3-beta.65
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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.umd.js +1 -1
- package/lib/form/index.js +3 -1
- package/package.json +1 -1
package/lib/form/index.js
CHANGED
@@ -524,7 +524,9 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
524
524
|
return value.length <= _maxlength;
|
525
525
|
},
|
526
526
|
pattern: function pattern(value, _pattern) {
|
527
|
-
|
527
|
+
var result = _pattern.test(value);
|
528
|
+
_pattern.lastIndex = 0;
|
529
|
+
return result;
|
528
530
|
}
|
529
531
|
});
|
530
532
|
;// CONCATENATED MODULE: ../../packages/form/src/form-item.tsx
|