|
@@ -1417,55 +1417,12 @@
|
|
if (clientCode) {
|
|
if (clientCode) {
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
- var log = window.location.href.substring(window.location.href.indexOf("?") + 1).indexOf('log') > -1;
|
|
|
|
-
|
|
|
|
- if (log) {
|
|
|
|
- var textarea = document.createElement('textarea');
|
|
|
|
- textarea.id = "consoleLog";
|
|
|
|
- textarea.style.width = "120px";
|
|
|
|
- textarea.style.height = "150px";
|
|
|
|
- textarea.style.position = "absolute";
|
|
|
|
- textarea.style.left = "0px";
|
|
|
|
- textarea.style.bottom = "100px";
|
|
|
|
- textarea.style['z-index'] = "100";
|
|
|
|
- textarea.style['font-size'] = "14px";
|
|
|
|
- textarea.style.color = "black";
|
|
|
|
- document.getElementsByTagName("body")[0].appendChild(textarea);
|
|
|
|
- console.oldLog = console.log;
|
|
|
|
- console.log = function (str) {
|
|
|
|
- console.oldLog(str);
|
|
|
|
- var t = document.getElementById("consoleLog").innerHTML;
|
|
|
|
- document.getElementById("consoleLog").innerHTML = str + "\n" + t;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- console.olderror = console.error;
|
|
|
|
- console.error = function (str) {
|
|
|
|
- console.olderror(str);
|
|
|
|
- var t = document.getElementById("consoleLog").innerHTML;
|
|
|
|
- document.getElementById("consoleLog").innerHTML = str + "\n" + t;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- console.oldwarn = console.warn;
|
|
|
|
- console.warn = function (str) {
|
|
|
|
- console.oldwarn(str);
|
|
|
|
- var t = document.getElementById("consoleLog").innerHTML;
|
|
|
|
- document.getElementById("consoleLog").innerHTML = str + "\n" + t;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- console.olddebug = console.debug;
|
|
|
|
- console.debug = function (str) {
|
|
|
|
- console.olddebug(str);
|
|
|
|
- var t = document.getElementById("consoleLog").innerHTML;
|
|
|
|
- document.getElementById("consoleLog").innerHTML = str + "\n" + t;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- console.oldinfo = console.info;
|
|
|
|
- console.info = function (str) {
|
|
|
|
- console.oldinfo(str);
|
|
|
|
- document.getElementById("consoleLog").innerHTML += str + "\n";
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ var ceshi = ''//'http://47.107.252.54:8105';
|
|
|
|
+ var token = window.localStorage.dcj_token
|
|
|
|
+ //if (!token) {
|
|
|
|
+ // window.location.href = '../list/index.html'
|
|
|
|
+ //}
|
|
|
|
+
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
|
|
|