bfg-common 1.1.74 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -230,8 +230,8 @@ const maxHardDisk = computed<number>(() => {
|
|
|
230
230
|
if (props.type === 'exist') return $binary.gbToMb(props.hardDisk.size)
|
|
231
231
|
|
|
232
232
|
if (!storage.value) return 0
|
|
233
|
-
if (props.type === 'edit')
|
|
234
|
-
|
|
233
|
+
// if (props.type === 'edit')
|
|
234
|
+
// return storage.value.capacity.free_mb - $binary.gbToMb(props.hardDisk.size)
|
|
235
235
|
|
|
236
236
|
return storage.value.capacity.free_mb
|
|
237
237
|
})
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
{{ localization.vmName }}
|
|
18
18
|
</template>
|
|
19
19
|
<template #stackBlockContent>
|
|
20
|
-
<span
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
<span>{{ vmNameLocal }}</span>
|
|
21
|
+
<!-- <span v-if="!props.isEdit">{{ vmNameLocal }}</span>-->
|
|
22
|
+
<!-- <input-->
|
|
23
|
+
<!-- v-else-->
|
|
24
|
+
<!-- id="general-option-vm-name"-->
|
|
25
|
+
<!-- v-model="vmNameLocal"-->
|
|
26
|
+
<!-- type="text"-->
|
|
27
|
+
<!-- />-->
|
|
27
28
|
</template>
|
|
28
29
|
</atoms-stack-block>
|
|
29
30
|
|
|
@@ -169,7 +170,7 @@ watch(
|
|
|
169
170
|
versionsOptions,
|
|
170
171
|
() => {
|
|
171
172
|
guestOsVersionLocal.value = versionsOptions.value[0]
|
|
172
|
-
}
|
|
173
|
+
}
|
|
173
174
|
// { immediate: true }
|
|
174
175
|
)
|
|
175
176
|
|