Commit 3549c9197031ac299f222070882678636c240655
1 parent
460a7bc4
fix: parmas setting replaceAttrPlaceholder parse Json error
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | ... | @@ -14050,6 +14050,7 @@ class HandleDataInteraction { | 
| 14050 | 14050 | } | 
| 14051 | 14051 | if (typeof oldValue[key] === 'object') { | 
| 14052 | 14052 | newValue[key] = replaceAttrPlaceholder(oldValue[key], replaceAttr, replaceValue) | 
| 14053 | + continue | |
| 14053 | 14054 | } | 
| 14054 | 14055 | newValue[key] = oldValue[key] | 
| 14055 | 14056 | } | 
| ... | ... | @@ -14066,6 +14067,7 @@ class HandleDataInteraction { | 
| 14066 | 14067 | if (!validate.every(Boolean)) return | 
| 14067 | 14068 | if (typeof command === 'string') command = jsonParse(command) | 
| 14068 | 14069 | const data = replaceAttrPlaceholder(command, attr, value) | 
| 14070 | + console.log(data) | |
| 14069 | 14071 | const instructionData = { | 
| 14070 | 14072 | method: "methodThingskit", | 
| 14071 | 14073 | params: data, | ... | ... |