Commit 107a830b by 谢中龙

去除空格

parent 4db5b92d
...@@ -84,13 +84,19 @@ Component({ ...@@ -84,13 +84,19 @@ 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 (newRow.type == 8) { if(Object.keys(newRow).length > 0){
newRow.newPath = '/pages/productDetail/productDetail' if (newRow.type == 8) {
} else if (newRow.type == 9) { newRow.newPath = '/pages/productDetail/productDetail'
newRow.newPath = '/subPackage/page/pages/categoryPro/categoryPro' } else if (newRow.type == 9) {
newRow.newPath = '/subPackage/page/pages/categoryPro/categoryPro'
}
dialogInfo.row = newRow
}
else{
delete dialogInfo.row;
} }
dialogInfo.row = newRow
} }
let checkUrl = ''; let checkUrl = '';
...@@ -124,7 +130,12 @@ Component({ ...@@ -124,7 +130,12 @@ Component({
if(!this.data.pageInfo.hasDialog){ if(!this.data.pageInfo.hasDialog){
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