Commit 04f5db65 by zhangquan

banner的subId传二级的

1 parent e61bb143
......@@ -247,11 +247,12 @@ export default {
this.$refs.videoRef.$refs.formRef.validate(valid => {
if(valid) {
const params = JSON.parse(JSON.stringify(this.formObj))
params.subMenuId = this.contentObj.thirdMenuId || this.contentObj.secondaryMenuId
if(!this.contentObj.id) delete params.id
if(this.contentObj.type==3){
params.subMenuId = this.contentObj.thirdMenuId || this.contentObj.secondaryMenuId
delete params.isLink
}else{
params.subMenuId = this.contentObj.secondaryMenuId
delete params.proName
}
this.$apis.discover.addContentApi(params).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!