fix(editor): 数据源参数、请求头、请求体无法删除

fix #543
This commit is contained in:
roymondchen 2023-10-31 14:28:10 +08:00
parent 1876ccb377
commit cb2ff28129
2 changed files with 2 additions and 0 deletions

View File

@ -91,5 +91,6 @@ const addHandler = () => {
const deleteHandler = (index: number) => {
records.value.splice(index, 1);
emit('change', getValue());
};
</script>

View File

@ -47,6 +47,7 @@ const props = withDefaults(
parse?: boolean;
}>(),
{
initValues: '',
autoSave: true,
language: 'javascript',
options: () => ({