Skip to content

Commit 1fe02f9

Browse files
fixes UI
1 parent 7a58a58 commit 1fe02f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/compute/KubernetesAddNodes.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
<script>
6868
import { ref, reactive, toRaw } from 'vue'
69-
import { postAPI } from '@/api'
69+
import { getAPI, postAPI } from '@/api'
7070
import TooltipLabel from '@/components/widgets/TooltipLabel'
7171
7272
export default {
@@ -112,7 +112,7 @@ export default {
112112
callListVms (accountId, domainId) {
113113
return new Promise((resolve) => {
114114
this.volumes = []
115-
postAPI('listVirtualMachines', {
115+
getAPI('listVirtualMachines', {
116116
accountId: accountId,
117117
domainId: domainId,
118118
details: 'min',

0 commit comments

Comments
 (0)