chore: cleanup unnecessary console log
Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
parent
3f4d2bf1c3
commit
558d2e4837
|
@ -37,8 +37,6 @@ router.beforeEach((to, from, next) => {
|
|||
|
||||
//解决localStorage清空,cookie没失效导致的卡死问题
|
||||
if (!localStorage.getItem('Admin-Token')) {
|
||||
// axios.get("/signout");
|
||||
// console.log("signout");
|
||||
localStorage.setItem('Admin-Token', "{}");
|
||||
window.location.href = "/login";
|
||||
next();
|
||||
|
|
|
@ -66,9 +66,6 @@ export function diff (oldDom, newDom,oldColor,newColor) {
|
|||
}
|
||||
|
||||
function changeStyle(diffNode,oldColor,newColor){
|
||||
/*console.log("查看结果");
|
||||
console.log(diffNode.oldNodeArray);
|
||||
console.log(diffNode.nodeArray);*/
|
||||
for (let i = 0; i < diffNode.oldNodeArray.length; i++) {
|
||||
if(diffNode.oldNodeArray[i]==='comment'||diffNode.oldNodeArray[i].nodeName==="#comment"){
|
||||
continue
|
||||
|
|
|
@ -71,7 +71,7 @@ export function parseCustomField(data, template, rules, oldFields) {
|
|||
}
|
||||
item.isEdit = true;
|
||||
} catch (e) {
|
||||
console.log("JSON parse custom field value error.");
|
||||
console.error("JSON parse custom field value error.", e);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue