fix: 申请ct页面添加组件

develop
TangShan_DD 2024-05-30 17:53:44 +08:00
parent 16911f7c08
commit 57d215590c
1 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,7 @@
<fusion-sphere-clone :type="type" v-if="type == 'FUSIONSPHERE' && this.serverId" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></fusion-sphere-clone> <fusion-sphere-clone :type="type" v-if="type == 'FUSIONSPHERE' && this.serverId" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></fusion-sphere-clone>
<fusion-sphere :type="type" v-if="type == 'FUSIONSPHERE' && !this.serverId" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></fusion-sphere> <fusion-sphere :type="type" v-if="type == 'FUSIONSPHERE' && !this.serverId" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></fusion-sphere>
<sangFor :type="type" v-if="type == 'SANGFOR'" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></sangFor> <sangFor :type="type" v-if="type == 'SANGFOR'" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></sangFor>
<cloudTower :type="type" v-if="type == 'CLOUDTOWER'" @type="setType" :item-data="itemData" :disabled="disabled" ref="node"></cloudTower>
</div> </div>
</template> </template>
@ -31,6 +32,8 @@ import smart from './smart/index.vue'
import fusionSphere from './fusionSphere/index.vue' import fusionSphere from './fusionSphere/index.vue'
import fusionSphereClone from './fusionSphere/clone.vue' import fusionSphereClone from './fusionSphere/clone.vue'
import sangFor from './sangfor/index.vue' import sangFor from './sangfor/index.vue'
import cloudTower from './cloudTower/index.vue'
export default { export default {
props: { props: {
itemData: { itemData: {
@ -40,7 +43,7 @@ export default {
type: Boolean type: Boolean
} }
}, },
components: { vc, ali, op, huawei, tencent, aws, tce, azure, smart, fusionSphere, fusionSphereClone, easyStack, sangFor }, components: { vc, ali, op, huawei, tencent, aws, tce, azure, smart, fusionSphere, fusionSphereClone, easyStack, sangFor, cloudTower },
data() { data() {
return { return {
type: '', type: '',