Commit 22277de7 by sunchao

公告佣金bug修复

parent ee96314e
......@@ -52,13 +52,16 @@ export class ProductDataComponent implements OnInit {
if(urlItem['categoryId'] != 35){
this.router.navigate(['/filelist'],{queryParams:{planId:this.planId,productId:this.productId,categoryId:urlItem['categoryId']}})
}else{
sessionStorage.setItem('commission',urlItem['fileInfos'][0]['description']);
if(this.isActive == 1){
sessionStorage.setItem('commission',urlItem['fileInfos'][0]['description']);
}
if(this.isActive == null){
const toast = ToastService.show('暂未配置公告佣金', 0);
setTimeout(() => {
ToastService.hide();
}, 3000);
}else{
}
if(this.isActive == 2){
this.router.navigate(['/commission'],{queryParams:{productId:this.productId,planId:this.planId,isActive:this.isActive}});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment