|
@@ -97,11 +97,11 @@ export default {
|
|
|
if(!this.checkedClassifys.length) return this.$message.warning('请选择分类');
|
|
|
edbCollectInterface.edbCollect({
|
|
|
EdbInfoId: this.edbId,
|
|
|
- ClassifyId: this.checkedClassifys[0]
|
|
|
+ ClassifyIdList: this.checkedClassifys
|
|
|
}).then(res => {
|
|
|
if(res.Ret !== 200) return
|
|
|
this.$message.success('收藏成功')
|
|
|
- this.$emit('success',res.Data)
|
|
|
+ this.$emit('success',this.checkedClassifys)
|
|
|
this.cancelHandle()
|
|
|
})
|
|
|
},
|