绘图相关调整_(暂仅绘图注册键盘事件)
This commit is contained in:
parent
4f824b83ac
commit
ab661e0961
@ -164,8 +164,9 @@ export default {
|
||||
this.$jlmap.on('dataZoom', this.onDataZoom, this);
|
||||
this.$jlmap.on('selected', this.onSelected, this);
|
||||
this.$jlmap.on('contextmenu', this.onContextMenu, this);
|
||||
if (this.$route.path.startsWith('/design/usermap/map/draw')) {
|
||||
this.$jlmap.on('keyboard', this.onKeyboard, this);
|
||||
|
||||
}
|
||||
window.document.oncontextmenu = function () {
|
||||
return false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user