|
@@ -211,7 +211,9 @@ export default {
|
|
|
// todo
|
|
|
if (flag && flag == 'next') {
|
|
|
this.floorRadio = this.floorList[0];
|
|
|
- this.loadOtherImg(this.floorRadio)
|
|
|
+ if (this.floorRadio.FloorID != this.FloorID) {
|
|
|
+ this.loadOtherImg(this.floorRadio)
|
|
|
+ }
|
|
|
}
|
|
|
this.alreadyRelatedModel = res.Content.map((t) => {
|
|
|
if (t.FloorID != this.FloorID) return t.ModelId
|
|
@@ -309,6 +311,7 @@ export default {
|
|
|
// 根据modelid初始化
|
|
|
initFromModelId(id){
|
|
|
const temp = id.split('.')[1];
|
|
|
+ console.log(id);
|
|
|
if (temp) {
|
|
|
if (temp.toLowerCase() == 'png' || temp.toLowerCase() == 'jpg') {
|
|
|
this.$refs.drawFloor.initGraphy(id, 3)
|