misc: configurator: Fix minor bug of vUART label error

The connection label should be consistent with vUART name

Tracked-On: #7455
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
This commit is contained in:
Yifan Liu 2022-05-13 09:30:55 +08:00 committed by acrnsi-robot
parent 27222e1583
commit 1651863584
1 changed files with 2 additions and 2 deletions

View File

@ -48,14 +48,14 @@
<b-col sm="4" v-else-if="VUARTConn.type === 'pci'"> VBDF </b-col> <b-col sm="4" v-else-if="VUARTConn.type === 'pci'"> VBDF </b-col>
</b-row> </b-row>
<b-row class="justify-content-sm-start align-items-center"> <b-row class="justify-content-sm-start align-items-center">
<b-col sm="4"> Connection_{{ index }}-{{ VUARTConn.endpoint[0].vm_name }} </b-col> <b-col sm="4"> Connection_{{ index + 1 }}-{{ VUARTConn.endpoint[0].vm_name }} </b-col>
<b-col sm="4"> <b-col sm="4">
<b-form-input v-model="VUARTConn.endpoint[0].io_port" v-if="VUARTConn.type === 'legacy'"/> <b-form-input v-model="VUARTConn.endpoint[0].io_port" v-if="VUARTConn.type === 'legacy'"/>
<b-form-input v-model="VUARTConn.endpoint[0].vbdf" v-else-if="VUARTConn.type === 'pci'"/> <b-form-input v-model="VUARTConn.endpoint[0].vbdf" v-else-if="VUARTConn.type === 'pci'"/>
</b-col> </b-col>
</b-row> </b-row>
<b-row class="justify-content-sm-start align-items-center"> <b-row class="justify-content-sm-start align-items-center">
<b-col sm="4"> Connection_{{ index }}-{{ VUARTConn.endpoint[1].vm_name }} </b-col> <b-col sm="4"> Connection_{{ index + 1 }}-{{ VUARTConn.endpoint[1].vm_name }} </b-col>
<b-col sm="4"> <b-col sm="4">
<b-form-input v-model="VUARTConn.endpoint[1].io_port" v-if="VUARTConn.type === 'legacy'"/> <b-form-input v-model="VUARTConn.endpoint[1].io_port" v-if="VUARTConn.type === 'legacy'"/>
<b-form-input v-model="VUARTConn.endpoint[1].vbdf" v-else-if="VUARTConn.type === 'pci'"/> <b-form-input v-model="VUARTConn.endpoint[1].vbdf" v-else-if="VUARTConn.type === 'pci'"/>