File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 259259 </div >
260260
261261 <div slot =" action" slot-scope =" text, record" style =" text-align : center " >
262- <a-radio :value =" record.id" @change =" e => fetchNics(e)" />
262+ <a-radio-group
263+ class =" radio-group"
264+ :key =" record.id"
265+ v-model =" checked"
266+ @change =" ($event) => checked = $event.target.value" >
267+ <a-radio :value =" record.id" @change =" e => fetchNics(e)" />
268+ </a-radio-group >
263269 </div >
264270 </a-table >
265271 <a-pagination
@@ -325,6 +331,7 @@ export default {
325331 inject: [' parentFetchData' , ' parentToggleLoading' ],
326332 data () {
327333 return {
334+ checked: true ,
328335 selectedRowKeys: [],
329336 showGroupActionModal: false ,
330337 selectedItems: [],
@@ -730,6 +737,7 @@ export default {
730737 this .fetchVirtualMachines ()
731738 },
732739 fetchNics (e ) {
740+ this .nics = []
733741 this .addVmModalNicLoading = true
734742 this .newRule .virtualmachineid = e .target .value
735743 api (' listNics' , {
You can’t perform that action at this time.
0 commit comments