bfg-common 1.4.563 → 1.4.565
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/Add.vue +0 -2
- package/components/common/vm/actions/clone/Clone.vue +0 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +8 -4
- package/components/common/vm/actions/editSettings/EditSettings.vue +0 -1
- package/package.json +1 -1
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
:datastore="props.datastore"
|
|
95
95
|
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
96
96
|
:passthrough-devices="props.passthroughDevices"
|
|
97
|
-
:browse-loading="props.browseLoading"
|
|
98
97
|
@change-boot-order="onChangeBootOrder"
|
|
99
98
|
@send-data="onChangeCustomizeHardware"
|
|
100
99
|
@get-storage="emits('get-storage', $event)"
|
|
@@ -201,7 +200,6 @@ const props = defineProps<{
|
|
|
201
200
|
>
|
|
202
201
|
passthroughDevices: UI_I_PciDevice[]
|
|
203
202
|
vmNameInWizard: string
|
|
204
|
-
browseLoading: boolean
|
|
205
203
|
capabilities?: UI_I_Capabilities
|
|
206
204
|
dataCenter?: UI_I_TreeNode // для сферы
|
|
207
205
|
computeResource?: UI_I_TreeNode // для сферы
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
:datastore="props.datastore"
|
|
76
76
|
:project="props.project"
|
|
77
77
|
is-clone
|
|
78
|
-
:browse-loading="props.browseLoading"
|
|
79
78
|
@change-boot-order="onChangeBootOrder"
|
|
80
79
|
@send-data="onChangeCustomizeHardware"
|
|
81
80
|
@get-storage="emits('get-storage', $event)"
|
|
@@ -154,7 +153,6 @@ const props = defineProps<{
|
|
|
154
153
|
validateSendDataFunc: any
|
|
155
154
|
passthroughDevices: UI_I_ConfigurePciDevicesTable | null
|
|
156
155
|
vmNameInWizard: string
|
|
157
|
-
browseLoading: boolean
|
|
158
156
|
capabilities?: UI_I_Capabilities
|
|
159
157
|
schedulerTask?: any // TODO надо interface переместить глобално
|
|
160
158
|
selectedVirtualMachine?: UI_I_Capabilities
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:files="files"
|
|
9
9
|
:info="selectedNodeInfo"
|
|
10
10
|
:file-types="props.fileTypes"
|
|
11
|
-
:browse-loading="
|
|
11
|
+
:browse-loading="browseLoading"
|
|
12
12
|
@get-nodes="onGetCurrentDirNodes"
|
|
13
13
|
@select-node="onSelectNode"
|
|
14
14
|
@submit="onSubmit"
|
|
@@ -168,23 +168,27 @@ const selectedNodeInfo = computed<UI_I_FileInfo[] | null>(() => {
|
|
|
168
168
|
|
|
169
169
|
return result
|
|
170
170
|
})
|
|
171
|
+
|
|
172
|
+
// TODO найти решение получше
|
|
171
173
|
const browseLoading = ref<boolean>(false)
|
|
172
174
|
const onSelectNode = (node: UI_I_FileTreeNode): void => {
|
|
173
|
-
browseLoading.value = true
|
|
174
|
-
|
|
175
175
|
selectedNode.value = node
|
|
176
176
|
selectedFile.value = null
|
|
177
177
|
|
|
178
178
|
onGetCurrentDirNodes({ node, select: true, type: 'file' })
|
|
179
179
|
|
|
180
180
|
emits('get-active-device-child', node)
|
|
181
|
+
|
|
182
|
+
setTimeout(() => {
|
|
183
|
+
browseLoading.value = true
|
|
184
|
+
}, 0)
|
|
181
185
|
}
|
|
182
186
|
watch(
|
|
183
187
|
files,
|
|
184
188
|
() => {
|
|
185
189
|
browseLoading.value = false
|
|
186
190
|
},
|
|
187
|
-
{ immediate: true }
|
|
191
|
+
{ immediate: true, deep: true }
|
|
188
192
|
)
|
|
189
193
|
|
|
190
194
|
const onSubmit = (): void => {
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
:vm-name-old="props.vmSettings?.name"
|
|
52
52
|
:passthrough-devices="props.passthroughDevices"
|
|
53
53
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
54
|
-
:browse-loading="props.browseLoading"
|
|
55
54
|
@hide="emits('hide')"
|
|
56
55
|
@validate="validateSendData"
|
|
57
56
|
@update-vm="emits('update-vm')"
|