File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 244244 </a-radio-group >
245245 </a-form-item >
246246 <a-form-item name =" pcidevice" ref =" pcidevice" :label =" $t('label.gpu')" v-if =" !isSystem" >
247- <a-radio-group
247+ <a-select
248248 v-model:value =" form.pcidevice"
249- buttonStyle =" solid"
250- @change =" selected => { handleGpuChange(selected.target.value) }" >
251- <a-radio-button v-for =" (opt, optIndex) in gpuTypes" :key =" optIndex" :value =" opt.value" >
249+ showSearch
250+ optionFilterProp =" label"
251+ :filterOption =" (input, option) => {
252+ return option.children[0].children.toLowerCase().indexOf(input.toLowerCase()) >= 0
253+ }"
254+ :placeholder =" $t('label.gpu')"
255+ @change =" handleGpuChange" >
256+ <a-select-option v-for =" (opt, optIndex) in gpuTypes" :key =" optIndex" :value =" opt.value" >
252257 {{ opt.title }}
253- </a-radio-button >
254- </a-radio-group >
258+ </a-select-option >
259+ </a-select >
255260 </a-form-item >
256261 <a-form-item name =" vgputype" ref =" vgputype" :label =" $t('label.vgputype')" v-if =" vGpuVisible" >
257262 <a-select
You can’t perform that action at this time.
0 commit comments