diff --git a/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/addBareMetal.vue b/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/addBareMetal.vue index 990e477..5f8fb03 100644 --- a/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/addBareMetal.vue +++ b/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/addBareMetal.vue @@ -49,6 +49,22 @@ + + +
+ {{ systemVolumeLabel }} + + + +
+
+ {{ dataVolumeLabel }} + + + +
+
+
@@ -107,22 +123,6 @@ - - -
- {{ systemVolumeLabel }} - - - -
-
- {{ dataVolumeLabel }} - - - -
-
-
diff --git a/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/image.vue b/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/image.vue index ae30f4a..0464f2b 100644 --- a/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/image.vue +++ b/webs/cmp-web/src/views/resource/ctstack/page/bareMetal/image.vue @@ -5,7 +5,7 @@ {{ item.name }} - + @@ -57,7 +57,9 @@ export default { }).then(data => { if (data.success) { this.imageList = data.data - if (data.data.length) this.addData.imageUuid = data.data[0].imageUUID + this.$nextTick(() => { + if (data.data.length) this.addData.imageUuid = data.data[0].imageUUID + }) } }) }