diff --git a/back/src/views/modules/ability/assignedScene/add-update-scene.vue b/back/src/views/modules/ability/assignedScene/add-update-scene.vue index 5ba410c8..9f121c0e 100644 --- a/back/src/views/modules/ability/assignedScene/add-update-scene.vue +++ b/back/src/views/modules/ability/assignedScene/add-update-scene.vue @@ -357,10 +357,10 @@ export default { update: 'put' } this.dataForm.fuseResourceList = this.getFuseResourceList() - // if (this.imageUrl == '') { - // this.$message.error('请上传图片!') - // return - // } + if (this.imageUrl == '') { + this.$message.error('请上传图片!') + return + } this.dataForm.fuseAttrList.find(v => v.attrType == '服务图片').attrValue = this.imageUrl || '' const _obj = Object.assign({}, this.dataForm, { type: '赋能场景' diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue index 9eb8fd49..0a6a6153 100644 --- a/front/src/views/home/AbilityToApplyFor.vue +++ b/front/src/views/home/AbilityToApplyFor.vue @@ -105,7 +105,7 @@ }} -
+
diff --git a/front/src/views/home/integrationServicesDetails.vue b/front/src/views/home/integrationServicesDetails.vue index 2463f7d3..af1ad0d3 100644 --- a/front/src/views/home/integrationServicesDetails.vue +++ b/front/src/views/home/integrationServicesDetails.vue @@ -301,9 +301,9 @@ return message.error(res.data.msg) } detailInfoObj.value = res.data.data || {} - dataSourceCount.value = res.data.dataSourceCount || 0 - infrastructureCount.value = res.data.infrastructureCount || 0 - componentCount.value = res.data.componentCount || 0 + dataSourceCount.value = res.data.data.dataSourceCount || 0 + infrastructureCount.value = res.data.data.infrastructureCount|| 0 + componentCount.value = res.data.data.componentCount || 0 // 资源属性 let fuseAttrList = res.data.data.fuseAttrList || [] // 融合关系