xs-common-plugins 1.4.8 → 1.4.9
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/package.json
CHANGED
|
@@ -42,9 +42,9 @@ export const MIX_ColCellAnalysis = {
|
|
|
42
42
|
|
|
43
43
|
let _value = "";
|
|
44
44
|
|
|
45
|
-
var reg = /(^\()?\D*\)$/;
|
|
46
45
|
//test()返回值bool类型,判断参数是否符合正则表达式
|
|
47
|
-
var result =
|
|
46
|
+
var result = group[0].includes('(') && group[0].includes(')') && !group[0].includes('null');
|
|
47
|
+
|
|
48
48
|
if (result) {
|
|
49
49
|
_value = group[0];
|
|
50
50
|
} else {
|