fix: BUG修改
This commit is contained in:
parent
a69844daa1
commit
bf6c920ff2
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user