@fileverse-dev/fortune-core 1.2.78-cf-3 → 1.2.78-example-3
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.
|
@@ -155,10 +155,6 @@ export function setConditionRules(ctx, protection, generalDialog, conditionforma
|
|
|
155
155
|
}
|
|
156
156
|
} else if (rangeArr.length === 0) {
|
|
157
157
|
if (_.isNaN(v) || v === "") {
|
|
158
|
-
if (v === "") {
|
|
159
|
-
ctx.warnDialog = "Value is required";
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
158
|
ctx.warnDialog = conditionformat.conditionValueCanOnly;
|
|
163
159
|
return;
|
|
164
160
|
}
|
|
@@ -170,10 +170,6 @@ function setConditionRules(ctx, protection, generalDialog, conditionformat, rule
|
|
|
170
170
|
}
|
|
171
171
|
} else if (rangeArr.length === 0) {
|
|
172
172
|
if (_lodash.default.isNaN(v) || v === "") {
|
|
173
|
-
if (v === "") {
|
|
174
|
-
ctx.warnDialog = "Value is required";
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
173
|
ctx.warnDialog = conditionformat.conditionValueCanOnly;
|
|
178
174
|
return;
|
|
179
175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.2.78-
|
|
3
|
+
"version": "1.2.78-example-3",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dev": "father-build --watch"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fileverse-dev/formula-parser": "0.2.88",
|
|
18
|
+
"@fileverse-dev/formula-parser": "0.2.88-example-3",
|
|
19
19
|
"dayjs": "^1.11.0",
|
|
20
20
|
"immer": "^9.0.12",
|
|
21
21
|
"lodash": "^4.17.21",
|