Skip to content

Commit b741baf

Browse files
committed
v3.4
1 parent 4fe5ddc commit b741baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/assets/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ window.ComponentPlane = class {
10081008
for (const pair of formdata.entries()) {
10091009
let key = pair[0];
10101010
let val = pair[1];
1011-
if(/\[.*\]/.test(key) && /\[.*\]/.test(val) && (typeof val !== 'object')){
1011+
if(/\[.*\]/.test(key) && /^\[.*\]$/.test(val) && (typeof val === 'string')){
10121012
val = JSON.parse(val);
10131013
if(Array.isArray(val) && val.length>0){
10141014
val.forEach((v)=>{

0 commit comments

Comments
 (0)