gaosp
2024-01-20 1e886ab33b58232647d5332b2961ecc1bffb85f6
update
已修改1个文件
12 ■■■■ 文件已修改
src/container/mapPreview/Map.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/container/mapPreview/Map.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-05 23:47:53
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-20 20:54:09
 * @LastEditTime: 2024-01-20 20:58:01
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreview/Map.vue
-->
<template>
@@ -141,7 +141,15 @@
            clearTimeout(timer)
        },
        mouseleave () {
            this.move && this.moveFn()
            let {width} = document.querySelector('.table div').getBoundingClientRect()
            let {width: tableW} = document.querySelector('.table').getBoundingClientRect()
            if (width > tableW) {
                this.leftMax = width - tableW
                clearTimeout(timer)
                this.moveFn()
            } else {
                this.leftMax = 0
            }
        },
        toDetail (v) {
            this.$router.push({