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: '赋能场景'