Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 485644f0 authored 3 years ago by agan's avatar agan
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

解決會返回的bug

parent 344c9e6c master
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 2 deletions
  • js/buriedPoint.js
js/buriedPoint.js
View file @ 485644f0
......@@ -13,7 +13,7 @@ function url_get_params() {
var icid = url_get_params().mrefer;
if (!icid) {
icid = window.location.href;
}else{
} else {
icid = icid.split('/').pop();
}
function viewPage(callback) {
......@@ -57,7 +57,10 @@ function checkIp() {
var result = JSON.parse(res);
if (result.code === 1) {
if (result.checkResult) {
window.location.href = 'content.html?ip=' + result.ip
window.location.hash = "no-back";
window.location.hash = "Again-No-back-button";
window.onhashchange = function () { window.location.hash = "no-back"; }
window.location.href = 'content.html?ip=' + result.ip;
}
}
}
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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 sign in to comment