xrk-components 2.0.0-beta.34 → 2.0.0-beta.35
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/lib/index.esm.js +2 -3
- package/lib/index.umd.js +2 -3
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -75237,9 +75237,8 @@ var script$a = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$a
|
|
|
75237
75237
|
}
|
|
75238
75238
|
if (column.type === 'input') {
|
|
75239
75239
|
var inputConfig = column.config;
|
|
75240
|
-
if (
|
|
75241
|
-
['text', 'textarea', 'password'].includes(inputConfig.type))
|
|
75242
|
-
inputConfig.inputTextReplace) {
|
|
75240
|
+
if (!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
|
|
75241
|
+
['text', 'textarea', 'password'].includes(inputConfig.type)) {
|
|
75243
75242
|
// 判断是否为
|
|
75244
75243
|
var _a = arr2Reg((inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.inputTexts) || defaultInputTexts), errMsg_1 = _a.errMsg, testReg_1 = _a.testReg;
|
|
75245
75244
|
defaultRules.push({
|
package/lib/index.umd.js
CHANGED
|
@@ -75240,9 +75240,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
75240
75240
|
}
|
|
75241
75241
|
if (column.type === 'input') {
|
|
75242
75242
|
var inputConfig = column.config;
|
|
75243
|
-
if (
|
|
75244
|
-
['text', 'textarea', 'password'].includes(inputConfig.type))
|
|
75245
|
-
inputConfig.inputTextReplace) {
|
|
75243
|
+
if (!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
|
|
75244
|
+
['text', 'textarea', 'password'].includes(inputConfig.type)) {
|
|
75246
75245
|
// 判断是否为
|
|
75247
75246
|
var _a = arr2Reg((inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.inputTexts) || defaultInputTexts), errMsg_1 = _a.errMsg, testReg_1 = _a.testReg;
|
|
75248
75247
|
defaultRules.push({
|