config_tools: remove ivshmem region id from ui

remove ivshmem region id from ui.

Tracked-On: #6691
Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
Weiyi Feng 2022-06-07 13:25:02 +08:00 committed by acrnsi-robot
parent cfd677c782
commit 7c80bfd86d
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div class="IVSH_REGIONS" v-if="defaultVal && defaultVal.length>0">
<div class="IVSH_REGION" v-for="(IVSHMEM_VMO, index) in defaultVal">
<div class="IVSH_REGION_CONTENT">
<b style="margin-bottom: 2rem">InterVM shared memory region {{ index + 1 }}</b>
<b style="margin-bottom: 2rem">InterVM shared memory region</b>
<b-row class="align-items-center my-2 mt-4">
<b-col md="2">
@ -197,7 +197,7 @@ export default {
return (value != null) && regexp.test(value);
},
validation(value) {
return (value != null) && (value.length != 0);
return (value != null) && (value.length !== 0);
},
addSharedVM(vms, index) {
// add new item after current item
@ -241,6 +241,7 @@ export default {
};
</script>
<!--suppress CssUnusedSymbol -->
<style scoped>
label:before {
content: '*';