Commit 97e6d516 by zhangquan

分享。js添加根路径

1 parent 4374c90e
...@@ -51,7 +51,7 @@ pageLeaveProxy(page) { ...@@ -51,7 +51,7 @@ pageLeaveProxy(page) {
// path += that.setCommonShareQuery() // path += that.setCommonShareQuery()
if (shareQuery) path += `?${shareQuery}` if (shareQuery) path += `?${shareQuery}`
if (!noPageAuth) path = `/authentication/loading/loading?url=${encodeURIComponent(path)}` if (!noPageAuth) path = `/pages/authentication/loading/loading?url=${encodeURIComponent(path)}`
if (shareFun) shareFun() if (shareFun) shareFun()
if (shareTrackData) that.reportShareData(shareTrackData) if (shareTrackData) that.reportShareData(shareTrackData)
console.log('::', path) console.log('::', path)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!