Skip to content

Commit 04cafd8

Browse files
更新
1 parent 55b6627 commit 04cafd8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/views/customToolbar/component/styleSelect.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
</el-tabs>
137137
<!-- 鼠标坐标展示 -->
138138
<div class="graphLocation">
139-
<span style="width:60px;display:inline-block;">X:{{parseInt(graphX)}}</span>
140-
<span style="width:60px;display:inline-block;">Y:{{parseInt(graphY)}}</span>
139+
<span style="width:60px;display:inline-block;">X:{{(graphX)}}</span>
140+
<span style="width:60px;display:inline-block;">Y:{{(graphY)}}</span>
141141
</div>
142142
<!-- 收缩小工具 -->
143143
<div class="show-map" ref="showMap"></div>

src/views/customToolbar/customToolbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ export default {
549549
mouseMove: (sender, me) => {
550550
// console.log('mouseMove')
551551
this.graphX = Math.ceil(me.graphX);
552-
this.graphY = me.graphY;
552+
this.graphY = Math.ceil(me.graphY);
553553
},
554554
555555
mouseUp: (sender, evt) => {

0 commit comments

Comments
 (0)