Commit 9cc14195 authored by 黄奎's avatar 黄奎

页面修改

parent decf504e
......@@ -1252,9 +1252,6 @@ vjs.getAbsoluteURL = function(url){
vjs.log = function(){
vjs.log.history = vjs.log.history || []; // store logs to an array for reference
vjs.log.history.push(arguments);
if(window.console){
window.console.log(Array.prototype.slice.call(arguments));
}
};
// Offset Left
......
......@@ -337,11 +337,7 @@
var _stuff_height = _max_y - _min_y + 50
var _final_x = (this.graphSetting.viewSize.width - _stuff_width)/2 - _min_x
var _final_y = (this.graphSetting.viewSize.height - _stuff_height)/2 - _min_y
// if (window.SeeksGraphDebug) console.log('_min_x, _min_y, _stuff_width, _stuff_height:', _min_x, _min_y, _stuff_width, _stuff_height)
// var _final_x = -_min_x
// var _final_y = -_min_y
this.animateGoto(_final_x, _final_y, 500, () => {
// this.graphSetting.checkedNodeId = thisNode.id
this.refreshNVAnalysisInfo()
})
})
......@@ -365,9 +361,7 @@
} else {
this.graphSetting.layouter = SeeksRGLayouters.createLayout(_defaultLayoutSetting, this.graphSetting)
}
} else {
console.log('你需要设置layouts来指定当前图谱可以使用的布局器!')
}
}
this.doLayout()
callback(this)
},
......@@ -788,9 +782,7 @@
} else {
this.graphSetting.layouter = SeeksRGLayouters.createLayout(_defaultLayoutSetting, this.graphSetting)
}
} else {
console.log('你需要设置layouts来指定当前图谱可以使用的布局器!')
}
}
var __root_id = jsonData['rootId']
this.loadGraphJsonData(jsonData)
......@@ -1056,7 +1048,7 @@
this.graphSetting.canvasOffset.y = _origin_offset_y
this.canvasBackgroundColor = 'transparent'
} catch (e) {
console.log('[SEEKS Graph]Create and download image error:', e)
}
})
})
......
......@@ -446,11 +446,12 @@
},
}
},
created() {},
created() {
},
mounted() {
if (this.$route.query.SourceId && this.$route.query.SourceId) {
this.msg.SourceId = this.$route.query.SourceId;
}
this.getData();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment