Skip to content

Commit

Permalink
feat(frontend): 支持故障池、待回收池 #7881
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 26624
  • Loading branch information
royalpioneer committed Dec 12, 2024
1 parent dcdbcca commit 65a39b1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@
const handleDelete = (value: 'storage_spec' | 'rack_id') => {
selectedOptions.value = selectedOptions.value.filter((item) => item !== value);
formData[value] = undefined;
if (value === 'storage_spec') {
formData[value] = [];
} else {
formData[value] = '';
}
};
const handleCancel = () => {
Expand Down

0 comments on commit 65a39b1

Please sign in to comment.