bfg-common 1.1.90 → 1.1.92
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/VirtualHardware.vue
CHANGED
|
@@ -257,7 +257,13 @@ const addHardDisk = (
|
|
|
257
257
|
hardDisksIndex.value.push(newIndex)
|
|
258
258
|
hardDisksType.value.push(type)
|
|
259
259
|
|
|
260
|
-
hardDisks.value.push({
|
|
260
|
+
hardDisks.value.push({
|
|
261
|
+
create,
|
|
262
|
+
size,
|
|
263
|
+
source,
|
|
264
|
+
attach: true,
|
|
265
|
+
boot_order: 0, // Убираем галочку
|
|
266
|
+
})
|
|
261
267
|
sendData()
|
|
262
268
|
}
|
|
263
269
|
const onAddExistHardDisk = (hardDisk: UI_I_HardDisk): void => {
|
|
@@ -329,7 +335,10 @@ const addNetwork = (): void => {
|
|
|
329
335
|
networksIndex.value.push(index)
|
|
330
336
|
networksType.value.push('new')
|
|
331
337
|
|
|
332
|
-
networks.value.push(
|
|
338
|
+
networks.value.push({
|
|
339
|
+
...useDeepCopy(defaultNetwork),
|
|
340
|
+
boot_order: 0, // Убираем галочку
|
|
341
|
+
})
|
|
333
342
|
}
|
|
334
343
|
const onRemoveNetwork = (index: number): void => {
|
|
335
344
|
const removeIndex = networksIndex.value.indexOf(index)
|
|
@@ -380,6 +389,7 @@ const addCdDvdDrive = (): void => {
|
|
|
380
389
|
cdDvdDrives.value.push({
|
|
381
390
|
...useDeepCopy(defaultCdDvdDriver),
|
|
382
391
|
attach: true,
|
|
392
|
+
boot_order: 0 // Убираем галочку
|
|
383
393
|
})
|
|
384
394
|
}
|
|
385
395
|
const onRemoveCdDvdDrive = (
|