fix:删除console
This commit is contained in:
@@ -369,7 +369,6 @@
|
||||
let ctxClone = canvasclone.getContext("2d");
|
||||
//ctxClone.drawImage(image,0,0);
|
||||
image.onload = function(){
|
||||
console.log('clone-image-load',image);
|
||||
ctxClone.drawImage(image,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -701,7 +701,6 @@ export const tableSet = {
|
||||
return function (obj1, obj2) {
|
||||
let val1 = obj1[prop];
|
||||
let val2 = obj2[prop];
|
||||
console.log(val1,val2);
|
||||
if (!isNaN(Number(val1)) && !isNaN(Number(val2)) && prop!=='time') {
|
||||
val1 = Number(val1);
|
||||
val2 = Number(val2);
|
||||
|
||||
@@ -967,7 +967,6 @@
|
||||
}
|
||||
}
|
||||
}*/
|
||||
console.log(ind)
|
||||
this.searchMsg.searchLabelList.forEach((val, key) => {
|
||||
if (this.select_list[ind].id == val.id) {
|
||||
this.searchLabelList.splice(key , 1, val);
|
||||
|
||||
@@ -315,7 +315,6 @@
|
||||
methods: {
|
||||
labelsSort:function(obj){
|
||||
let buildIn=['asset','endpoint','module','project','datacenter']
|
||||
console.log(obj)
|
||||
let labels=JSON.parse(JSON.stringify(obj));
|
||||
let result=[];
|
||||
for(let key of buildIn){
|
||||
|
||||
@@ -120,7 +120,6 @@ export default {
|
||||
this.$get('account/reopen.do?id='+id+"&token="+token).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.token = res.data.token
|
||||
console.log(this.token)
|
||||
sessionStorage.setItem("cliToken", this.token);
|
||||
}
|
||||
})
|
||||
@@ -158,7 +157,6 @@ export default {
|
||||
}
|
||||
this.getAssetData()
|
||||
if(sessionStorage.getItem('cliToken')){
|
||||
console.log(this.routeData.accountId,sessionStorage.getItem('cliToken'))
|
||||
this.getConnect(this.routeData.accountId,sessionStorage.getItem('cliToken'))
|
||||
}
|
||||
},
|
||||
|
||||
@@ -594,7 +594,6 @@ export default {
|
||||
this.elementInfo.metric = this.elementInfo.metric[2];
|
||||
}
|
||||
this.convertLabelValueCascadeVal();//将label,value级联选择的值,转换为selectTagList里
|
||||
console.log('___saveTarget___',this.elementInfo)
|
||||
this.$emit('on-add-target-success', this.elementInfo, pointer,optType);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -276,7 +276,6 @@
|
||||
document.querySelector("body>.el-dropdown-menu").addEventListener("ps-y-reach-end", () => {
|
||||
let yDom = document.querySelector("body>.el-dropdown-menu>.ps__rail-y");
|
||||
let yDom2 = document.querySelector("body>.el-dropdown-menu>.ps__rail-y>.ps__thumb-y");
|
||||
console.log('top',top,top2)
|
||||
if (top) {
|
||||
yDom.style.top = top;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user