fix: BUG修改

This commit is contained in:
kun 2024-02-23 16:07:45 +08:00
parent a69844daa1
commit bf6c920ff2
2 changed files with 8 additions and 8 deletions

View File

@ -185,8 +185,8 @@ export default {
activeImgIndex: 0,
activeImgUrl: false,
isEditPoint: false,
imgWidth: 0,
imgHeight: 0,
imgWidth: 721,
imgHeight: 545,
activeImgUrl: false,
pointList: [],
detailList: [],
@ -352,8 +352,8 @@ export default {
natureSize.width = img.width;
natureSize.height = img.height;
console.log('------', natureSize)
_this.imgWidth = natureSize.width
_this.imgHeight = natureSize.height
// _this.imgWidth = natureSize.width
// _this.imgHeight = natureSize.height
_this.imgStartWidth = img.width;
_this.imgStartHeight = img.width;
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)

View File

@ -1171,8 +1171,8 @@ export default {
pointStatus: 'none',
pointTop: 0,
pointLeft: 0,
imgWidth: 0,
imgHeight: 0,
imgWidth: 721,
imgHeight: 545,
imgStartWidth: 0,
imgStartHeight: 0,
imgZoom: 1,
@ -2275,8 +2275,8 @@ export default {
natureSize.width = img.width
natureSize.height = img.height
console.log('------', natureSize)
_this.imgWidth = natureSize.width
_this.imgHeight = natureSize.height
// _this.imgWidth = natureSize.width
// _this.imgHeight = natureSize.height
_this.imgStartWidth = img.width
_this.imgStartHeight = img.width
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)