Skip to content

Commit deed8d3

Browse files
authored
[type:fix] fix handler undefined problem (#518)
1 parent 5aee5f9 commit deed8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/Plugin/Common/Rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class AddModal extends Component {
219219
// customizationRule
220220
const customHandle = this.handleComponentRef.getData(values);
221221
handle = JSON.stringify({
222-
...JSON.parse(handle),
222+
...JSON.parse(handle ?? "{}"),
223223
...JSON.parse(customHandle),
224224
});
225225
}

0 commit comments

Comments
 (0)