Skip to content

Commit

Permalink
fix(editor): 数据源参数、请求头、请求体无法删除
Browse files Browse the repository at this point in the history
fix #543
  • Loading branch information
roymondchen committed Oct 31, 2023
1 parent 1876ccb commit cb2ff28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/fields/KeyValue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ const addHandler = () => {
const deleteHandler = (index: number) => {
records.value.splice(index, 1);
emit('change', getValue());
};
</script>
1 change: 1 addition & 0 deletions packages/editor/src/layouts/CodeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const props = withDefaults(
parse?: boolean;
}>(),
{
initValues: '',
autoSave: true,
language: 'javascript',
options: () => ({
Expand Down

0 comments on commit cb2ff28

Please sign in to comment.