|
@@ -480,9 +480,9 @@ const handleSubmit = async (onSubmit) => {
|
|
|
if (item.type == "json") {
|
|
|
form[item.prop] = JSON.stringify(form[item.prop]);
|
|
|
}
|
|
|
- if (item.type == 'input') {
|
|
|
- form[item.prop] = form[item.prop].trim();
|
|
|
- }
|
|
|
+ // if (item.type == 'input') {
|
|
|
+ // form[item.prop] = form[item.prop].trim();
|
|
|
+ // }
|
|
|
});
|
|
|
emit("update:modelValue", form);
|
|
|
onSubmit();
|