fix: 磁盘 raid

develop
时启龙 2024-09-03 18:55:20 +08:00
parent d5e306fc03
commit a85aad47ff
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ''