@luck-design-biz/luckda 0.0.15-2 → 0.0.15-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.
- package/es/utils/form.js +1 -0
- package/lib/utils/form.js +1 -0
- package/package.json +1 -1
package/es/utils/form.js
CHANGED
|
@@ -103,6 +103,7 @@ export var formItemDataFormat = function formItemDataFormat() {
|
|
|
103
103
|
break;
|
|
104
104
|
case 'upload':
|
|
105
105
|
result[name] = values[name];
|
|
106
|
+
result["".concat(name, "_virtual")] = values["".concat(name, "_virtual")];
|
|
106
107
|
break;
|
|
107
108
|
default:
|
|
108
109
|
if (!isNil(values["".concat(name, "_virtual")] || values[name])) result[name] = values["".concat(name, "_virtual")] || values[name];
|
package/lib/utils/form.js
CHANGED
|
@@ -111,6 +111,7 @@ var formItemDataFormat = function formItemDataFormat() {
|
|
|
111
111
|
break;
|
|
112
112
|
case 'upload':
|
|
113
113
|
result[name] = values[name];
|
|
114
|
+
result["".concat(name, "_virtual")] = values["".concat(name, "_virtual")];
|
|
114
115
|
break;
|
|
115
116
|
default:
|
|
116
117
|
if (!(0, _lodash.isNil)(values["".concat(name, "_virtual")] || values[name])) result[name] = values["".concat(name, "_virtual")] || values[name];
|