Commit 107a830b by 谢中龙

去除空格

parent 4db5b92d
...@@ -84,14 +84,20 @@ Component({ ...@@ -84,14 +84,20 @@ Component({
dialogInfo.link.newPath = `/${currentPath.route}` dialogInfo.link.newPath = `/${currentPath.route}`
} }
} else if (dialogInfo.row) { } 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) { if (newRow.type == 8) {
newRow.newPath = '/pages/productDetail/productDetail' newRow.newPath = '/pages/productDetail/productDetail'
} else if (newRow.type == 9) { } else if (newRow.type == 9) {
newRow.newPath = '/subPackage/page/pages/categoryPro/categoryPro' newRow.newPath = '/subPackage/page/pages/categoryPro/categoryPro'
} }
dialogInfo.row = newRow dialogInfo.row = newRow
} }
else{
delete dialogInfo.row;
}
}
let checkUrl = ''; let checkUrl = '';
...@@ -125,6 +131,11 @@ Component({ ...@@ -125,6 +131,11 @@ Component({
return ; return ;
} }
if(!this.data.dialogInfo.redirectId && !this.data.dialogInfo.row && !this.data.dialogInfo.link){
return ;
}
this.onTapClose();
utilLink.currentLinkRouter(event, this); 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