fix: clear selected_field if field is removed
This commit is contained in:
parent
7461537a74
commit
2f87db7aef
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,9 @@ watch(
|
|||
nextTick(() => label_input.value.focus());
|
||||
store.selected_field = props.field.df;
|
||||
}
|
||||
if (props.field.remove) {
|
||||
store.selected_field = null;
|
||||
}
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue