Commit 023354bb by fukai

修改Api pageid传递

parent 92fe320f
......@@ -88,8 +88,14 @@ export default class Api
if (typeof data === "function") {
data = await data()
}
let curPid = data?data.pageId:""|| "";
let prePid = data?data.prePageId:"" || "";
let curPid = "";
let prePid = "";
if(data){
curPid = data.pageId || "";
prePid = data.prePageId || "";
}
//设置PAGEID
headers["CUR-PID"] = curPid;
headers["PRE-PID"] = prePid;
......
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