Commit 107a830b by 谢中龙

去除空格

parent 4db5b92d
......@@ -84,14 +84,20 @@ Component({
dialogInfo.link.newPath = `/${currentPath.route}`
}
} else if (dialogInfo.row) {
newRow = JSON.parse(dialogInfo.row)
let newRow = JSON.parse(dialogInfo.row)
if(Object.keys(newRow).length > 0){
if (newRow.type == 8) {
newRow.newPath = '/pages/productDetail/productDetail'
} else if (newRow.type == 9) {
newRow.newPath = '/subPackage/page/pages/categoryPro/categoryPro'
}
dialogInfo.row = newRow
}
else{
delete dialogInfo.row;
}
}
let checkUrl = '';
......@@ -125,6 +131,11 @@ Component({
return ;
}
if(!this.data.dialogInfo.redirectId && !this.data.dialogInfo.row && !this.data.dialogInfo.link){
return ;
}
this.onTapClose();
utilLink.currentLinkRouter(event, this);
},
//设置弹出框本地弹出状态 //每天都弹出
......
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