fix: 磁盘 raid
parent
d5e306fc03
commit
a85aad47ff
|
@ -234,7 +234,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
flavorChange() {
|
flavorChange() {
|
||||||
const find = this.flavorList.find(({ deviceType }) => this.addData.deviceType)
|
const find = this.flavorList.find(({ deviceType }) => deviceType === this.addData.deviceType)
|
||||||
this.systemVolumeLabel = find?.systemVolumeAmount ? `系统盘:${find.systemVolumeAmount}*${find.systemVolumeSize}GB(${find.systemVolumeType})` : ''
|
this.systemVolumeLabel = find?.systemVolumeAmount ? `系统盘:${find.systemVolumeAmount}*${find.systemVolumeSize}GB(${find.systemVolumeType})` : ''
|
||||||
this.dataVolumeLabel = find?.dataVolumeAmount ? `数据盘:${find.dataVolumeAmount}*${find.dataVolumeSize}GB(${find.dataVolumeType})` : ''
|
this.dataVolumeLabel = find?.dataVolumeAmount ? `数据盘:${find.dataVolumeAmount}*${find.dataVolumeSize}GB(${find.dataVolumeType})` : ''
|
||||||
this.addData.systemVolumeRaidUuid = ''
|
this.addData.systemVolumeRaidUuid = ''
|
||||||
|
|
Loading…
Reference in New Issue