Skip to content

Commit bde4dba

Browse files
committed
v3.3
1 parent 8e5b418 commit bde4dba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/assets/component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ window._component = {
9797
let w = window.innerWidth / 2 - 140;
9898
let h = window.innerHeight / 2 - 145;
9999
let style = "z-index: 1000000; position: fixed;background-color: rgba(0,0,0,.6);color: #fff;" +
100-
"width: 320px;max-height: 450px;line-height: 20px;overflow: hidden;border-radius: 3px;text-align: center;display: block;" +
100+
"width: 320px;max-height: 450px;line-height: 30px;overflow: hidden;border-radius: 3px;text-align: center;display: block;" +
101101
"top:" + h + "px;left:" + w + "px;";
102102
div.setAttribute('style', style);
103103
document.getElementsByTagName("BODY")[0].appendChild(div);
@@ -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)){
1011+
if(/\[.*\]/.test(key) && /\[.*\]/.test(val) && (typeof val !== 'object')){
10121012
val = JSON.parse(val);
10131013
if(Array.isArray(val) && val.length>0){
10141014
val.forEach((v)=>{

0 commit comments

Comments
 (0)