| | |
| | | <!-- |
| | | * @Date: 2024-01-05 23:47:53 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-20 20:41:19 |
| | | * @LastEditTime: 2024-01-20 20:44:04 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreview/Map.vue |
| | | --> |
| | | <template> |
| | |
| | | this.$nextTick(() => { |
| | | let {width} = document.querySelector('.table div').getBoundingClientRect() |
| | | let {width: tableW} = document.querySelector('.table').getBoundingClientRect() |
| | | console.log(width, '>>>>>>>', tableW) |
| | | if (width > tableW) { |
| | | this.leftMax = width - tableW |
| | | clearTimeout(timer) |