Browse Source

增加可能的错误的提示

tags/v8.0
枫谷剑仙 6 years ago
parent
commit
3cf40188a9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      script.js

+ 4
- 0
script.js View File

@@ -424,6 +424,8 @@ window.onload = function()
dealCardsData(value);
}).catch(function(err) {
// This code runs if there were any errors
alert("Local Database error. Please refresh.");
GM_deleteValue("PADDF-ckey");
console.log(err);
});
}else
@@ -480,6 +482,8 @@ window.onload = function()
dealSkillData(value);
}).catch(function(err) {
// This code runs if there were any errors
alert("Local Database error. Please refresh.");
GM_deleteValue("PADDF-ckey");
console.log(err);
});
}else


Loading…
Cancel
Save