bfg-common 1.1.75 → 1.1.77
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.
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Cpu.vue +1 -1
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +0 -2
- package/components/common/vm/actions/add/customizeHardware/vmoptions/bootOptions/BootOptions.vue +1 -0
- package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +2 -2
- package/package.json +1 -1
|
@@ -345,7 +345,7 @@ watch(
|
|
|
345
345
|
limit.value = '' + newValue.limit_mhz
|
|
346
346
|
shares.value = '' + newValue.shares
|
|
347
347
|
cpuModel.value =
|
|
348
|
-
props.cpuModels.find((model) => model.
|
|
348
|
+
props.cpuModels.find((model) => model.value.substr(4) === props.cpu?.model)?.value ||
|
|
349
349
|
cpuModel.value
|
|
350
350
|
},
|
|
351
351
|
{ immediate: true }
|
|
@@ -230,8 +230,6 @@ 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
|
-
// return storage.value.capacity.free_mb - $binary.gbToMb(props.hardDisk.size)
|
|
235
233
|
|
|
236
234
|
return storage.value.capacity.free_mb
|
|
237
235
|
})
|
package/components/common/vm/actions/add/customizeHardware/vmoptions/bootOptions/BootOptions.vue
CHANGED
|
@@ -84,6 +84,7 @@ const onChangeBootOrder = (data: UI_T_ChangeBootOrder): void => {
|
|
|
84
84
|
watch(
|
|
85
85
|
[firmware, secureBoot, bootMenu, bootDelay],
|
|
86
86
|
() => {
|
|
87
|
+
console.log(firmware, secureBoot, bootMenu, bootDelay, 111);
|
|
87
88
|
emits('send-data', {
|
|
88
89
|
firmware: firmware.value,
|
|
89
90
|
boot_delay_ms: bootDelay.value,
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
v-model="form.password.value"
|
|
25
25
|
type="text"
|
|
26
26
|
:class="[{ 'has-error': !!passwordErrorText }]"
|
|
27
|
-
:disabled="!isEnabledPassword || props.disabled
|
|
27
|
+
:disabled="!isEnabledPassword || props.disabled"
|
|
28
28
|
@input="changePassword"
|
|
29
29
|
/>
|
|
30
30
|
</template>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<button
|
|
37
37
|
id="generate-password-button"
|
|
38
38
|
class="generate-password-btn btn btn-primary"
|
|
39
|
-
:disabled="!isEnabledPassword || props.disabled
|
|
39
|
+
:disabled="!isEnabledPassword || props.disabled"
|
|
40
40
|
:title="localization.generatePassword"
|
|
41
41
|
@click="onGeneratePassword"
|
|
42
42
|
>
|