bfg-common 1.1.67 → 1.1.68
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.
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<select
|
|
77
77
|
v-if="props.guestOsVersion"
|
|
78
78
|
id="guest-os-version-select"
|
|
79
|
-
v-model=""
|
|
79
|
+
v-model="guestOsVersionLocal"
|
|
80
80
|
:disabled="isDisabled"
|
|
81
81
|
>
|
|
82
82
|
<option
|
|
@@ -131,6 +131,7 @@ const vmNameLocal = computed<string>({
|
|
|
131
131
|
|
|
132
132
|
const guestMachineTypeLocal = computed<UI_I_OptionItem | null>({
|
|
133
133
|
get() {
|
|
134
|
+
console.log(props.guestMachineType, 111);
|
|
134
135
|
return props.guestMachineType
|
|
135
136
|
},
|
|
136
137
|
set(newValue) {
|
|
@@ -141,6 +142,7 @@ const machineTypeOptions = ref<UI_I_OptionItem[]>(capabilities.machineTypes)
|
|
|
141
142
|
|
|
142
143
|
const guestOsFamilyLocal = computed<UI_I_OptionItem | null>({
|
|
143
144
|
get() {
|
|
145
|
+
console.log(props.guestOsFamily, 2222);
|
|
144
146
|
return props.guestOsFamily
|
|
145
147
|
},
|
|
146
148
|
set(newValue) {
|
|
@@ -154,6 +156,7 @@ const onChangeOS = (): void => {
|
|
|
154
156
|
|
|
155
157
|
const guestOsVersionLocal = computed<UI_I_OptionItem | null>({
|
|
156
158
|
get() {
|
|
159
|
+
console.log(props.guestOsVersion, 333);
|
|
157
160
|
return props.guestOsVersion
|
|
158
161
|
},
|
|
159
162
|
set(newValue) {
|
|
@@ -165,6 +168,13 @@ const versionsOptions = computed<UI_I_OptionItem[]>(() => {
|
|
|
165
168
|
|
|
166
169
|
return capabilities.guestOsVersions[guestOsFamilyLocal.value.value] || []
|
|
167
170
|
})
|
|
171
|
+
watch(
|
|
172
|
+
versionsOptions,
|
|
173
|
+
() => {
|
|
174
|
+
guestOsVersionLocal.value = versionsOptions.value[0]
|
|
175
|
+
},
|
|
176
|
+
// { immediate: true }
|
|
177
|
+
)
|
|
168
178
|
|
|
169
179
|
const blockIsOpen = ref<boolean>(false)
|
|
170
180
|
</script>
|