|
@@ -149,8 +149,8 @@ export default {
|
|
|
let pa = {
|
|
|
Filters: `FloorID='${this.FloorID}'`
|
|
|
}
|
|
|
- const temp = this.urlModelId.split('.')[1].toLowerCase()
|
|
|
- if (temp == 'png' || temp == 'jpg') { //底图为图片且已经绑定过图片
|
|
|
+ const temp = this.urlModelId.split('.')[1]
|
|
|
+ if (temp && temp.toLowerCase() == 'png' || temp.toLowerCase() == 'jpg') { //底图为图片且已经绑定过图片
|
|
|
floorQueryAndSign(pa, res => {
|
|
|
this.floorData = res.Content[0];
|
|
|
if (this.floorData.StructureInfo && this.floorData.StructureInfo.FloorMap) {
|