fix: BUG修改
This commit is contained in:
parent
a69844daa1
commit
bf6c920ff2
@ -185,8 +185,8 @@ export default {
|
|||||||
activeImgIndex: 0,
|
activeImgIndex: 0,
|
||||||
activeImgUrl: false,
|
activeImgUrl: false,
|
||||||
isEditPoint: false,
|
isEditPoint: false,
|
||||||
imgWidth: 0,
|
imgWidth: 721,
|
||||||
imgHeight: 0,
|
imgHeight: 545,
|
||||||
activeImgUrl: false,
|
activeImgUrl: false,
|
||||||
pointList: [],
|
pointList: [],
|
||||||
detailList: [],
|
detailList: [],
|
||||||
@ -352,8 +352,8 @@ export default {
|
|||||||
natureSize.width = img.width;
|
natureSize.width = img.width;
|
||||||
natureSize.height = img.height;
|
natureSize.height = img.height;
|
||||||
console.log('------', natureSize)
|
console.log('------', natureSize)
|
||||||
_this.imgWidth = natureSize.width
|
// _this.imgWidth = natureSize.width
|
||||||
_this.imgHeight = natureSize.height
|
// _this.imgHeight = natureSize.height
|
||||||
_this.imgStartWidth = img.width;
|
_this.imgStartWidth = img.width;
|
||||||
_this.imgStartHeight = img.width;
|
_this.imgStartHeight = img.width;
|
||||||
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)
|
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)
|
||||||
|
|||||||
@ -1171,8 +1171,8 @@ export default {
|
|||||||
pointStatus: 'none',
|
pointStatus: 'none',
|
||||||
pointTop: 0,
|
pointTop: 0,
|
||||||
pointLeft: 0,
|
pointLeft: 0,
|
||||||
imgWidth: 0,
|
imgWidth: 721,
|
||||||
imgHeight: 0,
|
imgHeight: 545,
|
||||||
imgStartWidth: 0,
|
imgStartWidth: 0,
|
||||||
imgStartHeight: 0,
|
imgStartHeight: 0,
|
||||||
imgZoom: 1,
|
imgZoom: 1,
|
||||||
@ -2275,8 +2275,8 @@ export default {
|
|||||||
natureSize.width = img.width
|
natureSize.width = img.width
|
||||||
natureSize.height = img.height
|
natureSize.height = img.height
|
||||||
console.log('------', natureSize)
|
console.log('------', natureSize)
|
||||||
_this.imgWidth = natureSize.width
|
// _this.imgWidth = natureSize.width
|
||||||
_this.imgHeight = natureSize.height
|
// _this.imgHeight = natureSize.height
|
||||||
_this.imgStartWidth = img.width
|
_this.imgStartWidth = img.width
|
||||||
_this.imgStartHeight = img.width
|
_this.imgStartHeight = img.width
|
||||||
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)
|
console.log(_this.$refs['mapbox'].clientWidth, _this.$refs['mapbox'].clientHeight)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user