fix:删除页面console

This commit is contained in:
zhangyu
2020-11-20 17:03:32 +08:00
parent 3fbddf470e
commit a45d388d7f
6 changed files with 1 additions and 17 deletions

View File

@@ -854,21 +854,16 @@
return this.$CONSTANTS.alertMessage.severityData.find(s => {return s.value == key}).label
},
plpsscrolly(el,self){
console.log(el._ps_,self.bottomBox.mainResizeShow)
if (el._ps_.scrollbarYTop > 50) {
console.log(true)
self.tools.showTopBtn = true;
} else {
console.log(false)
self.tools.showTopBtn = false;
}
},
plmouseenter(el,self){
console.log('plmouseenter')
self.tools.tableHover = true;
},
plmouseleave(el,self){
console.log('plmouseleave')
self.tools.tableHover = false;
}
},
@@ -904,7 +899,6 @@
this.$nextTick(() => {
//绑定滚动条事件控制top按钮
let el = this.$refs.alertListTable.$el.querySelector(".el-table__body-wrapper");
console.log(el);
if (el._ps_) {
el.addEventListener("ps-scroll-y", this.plpsscrolly.bind('',el,this));
el.addEventListener("mouseenter", this.plmouseenter.bind('',el,this));

View File

@@ -430,7 +430,6 @@
}
} else {
this.$message.error(response.data.error)
// console.error(response.data)
}
}
});

View File

@@ -364,7 +364,6 @@
let _URL = window.URL || window.webkitURL;
let img = new Image();
img.onload = function() {
console.log(img.width);
let valid = img.width > width && img.height > height;
valid ? resolve() : reject();
}

View File

@@ -806,7 +806,6 @@
return flag
},
modelPopError(item){
// console.log(item,this.activeModelItem);
if(item.id==='asset'&&this.activeModelItem.assetError){
return true;
}
@@ -856,7 +855,6 @@
mounted(){
// this.timeInterval=setInterval(()=>{
// this.qqq();
// console.log(123);
// },300);
setTimeout(()=>{
let this_=this;
@@ -946,7 +944,6 @@
this_.cursorMove=true;
this_.lineId=params.edge;
this_.$refs['network'].addEventListener('mousemove',this_.modelTopMouseMoveEdge);
// console.log(params,'hoverEdge');
});
this.network.on("blurEdge", function (params) { // 边失去焦点
@@ -955,7 +952,7 @@
this_.expressionsInfoShow=false;
this_.lineId='';
this_.$refs['network'].removeEventListener('mousemove',this_.modelTopMouseMoveEdge);
// console.log(params,'blurEdge');
});
this.network.on("dragStart", function (params) {//节点移动开始
@@ -1010,7 +1007,6 @@
this.network.on("hoverNode", function () {//hoverNode
this_.cursorMove=true;
// console.log(123123123);
});
this.network.on("blurNode", function () {//blurNode

View File

@@ -767,7 +767,6 @@
this.$refs['notificationTempForm'].clearValidate();
this.$get('/alert/script').then(response=>{
this.notification=response.data.list;
console.log(this.notification);
this.notificationReserved=[...this.notification];
});
},

View File

@@ -752,7 +752,6 @@
return '';
},
plpsscrolly(el,self){
console.log(self.tools.showTopBtn && self.bottomBox.mainResizeShow)
if (el._ps_.scrollbarYTop > 50) {
self.tools.showTopBtn = true;
} else {
@@ -818,12 +817,10 @@
},
watch:{
pageType(n){
console.log(n);
if(n=='endpoint'){
setTimeout(()=>{
//绑定滚动条事件控制top按钮
let el=this.$refs.endpointTable.$el.querySelector(".el-table__body-wrapper");
console.log(el._ps_);
if(el._ps_){
el.addEventListener("ps-scroll-y", this.plpsscrolly.bind('',el,this));
el.addEventListener("mouseenter", this.plmouseenter.bind('',el,this));