We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e946061 commit 187584cCopy full SHA for 187584c
client/src/views/HomeView.vue
@@ -814,7 +814,7 @@ const edges = ref<any[]>([])
814
815
// 计算属性:将可发布版本数据转换为下拉框格式
816
const availableVersionOptions = computed(() => {
817
- if (!currentServiceAvailableVersions.value) {
+ if (!currentServiceAvailableVersions.value || !currentServiceAvailableVersions.value.items) {
818
return []
819
}
820
@@ -826,7 +826,7 @@ const availableVersionOptions = computed(() => {
826
827
// 计算属性:将发布计划数据转换为前端显示格式
828
const deploymentPlansForDisplay = computed(() => {
829
- if (!currentServiceDeploymentPlans.value) {
+ if (!currentServiceDeploymentPlans.value || !currentServiceDeploymentPlans.value.items) {
830
831
832
0 commit comments