@joker.front/core 1.2.138 → 1.2.139
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/bundle.es.js +1 -1
- package/dist/bundle.js +1 -1
- package/package.json +1 -1
package/dist/bundle.es.js
CHANGED
|
@@ -2914,7 +2914,7 @@ function getPropValue(propsData, key, propsType) {
|
|
|
2914
2914
|
("type" in propOption || "required" in propOption || "default" in propOption || "validate" in propOption)) {
|
|
2915
2915
|
let fullModel = propOption;
|
|
2916
2916
|
if (fullModel.required && propValue === undefined) {
|
|
2917
|
-
throw new Error(`props中key
|
|
2917
|
+
throw new Error(`props中key:${key.toString()}是必须项,请检查`);
|
|
2918
2918
|
}
|
|
2919
2919
|
if (fullModel.type) {
|
|
2920
2920
|
propValue = checkPropType(key, propValue, fullModel.type);
|
package/dist/bundle.js
CHANGED
|
@@ -2915,7 +2915,7 @@ function getPropValue(propsData, key, propsType) {
|
|
|
2915
2915
|
("type" in propOption || "required" in propOption || "default" in propOption || "validate" in propOption)) {
|
|
2916
2916
|
let fullModel = propOption;
|
|
2917
2917
|
if (fullModel.required && propValue === undefined) {
|
|
2918
|
-
throw new Error(`props中key
|
|
2918
|
+
throw new Error(`props中key:${key.toString()}是必须项,请检查`);
|
|
2919
2919
|
}
|
|
2920
2920
|
if (fullModel.type) {
|
|
2921
2921
|
propValue = checkPropType(key, propValue, fullModel.type);
|