|
@@ -384,10 +384,10 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
const selectedOption = this.sampleOptions.find(option => option.value === value);
|
|
|
- this.basicOptions = selectedOption ? selectedOption.info.map(item => ({
|
|
|
- value: item.id,
|
|
|
- label: item.name
|
|
|
- })) : [];
|
|
|
+ this.basicOptions = selectedOption ? selectedOption.info.filter(item => item.name !== '').map(item => ({
|
|
|
+ value: item.id,
|
|
|
+ label: item.name
|
|
|
+ })) : [];
|
|
|
|
|
|
},
|
|
|
handleDeleteItem(item, index) {
|