优化房屋结构图 强刷问题

This commit is contained in:
java110 2022-05-10 00:49:01 +08:00
parent 2bf5828d37
commit 92b237b968
2 changed files with 2 additions and 4 deletions

View File

@ -18,9 +18,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-md-10 margin-bottom" v-else> <div class="col-md-10 margin-bottom" v-else>
<div v-for="(val, key, index) in roomStructureInfo.parkRooms"> <div v-for="(val, key, index) in roomStructureInfo.parkRooms">
<span class=" padding-xs">{{key}}F</span> <span class=" padding-xs">{{key}}F</span>
<div class="row margin-top-xs bg-white"> <div class="row margin-top-xs bg-white">

View File

@ -41,8 +41,8 @@
function(json, res) { function(json, res) {
let listRoomData = JSON.parse(json); let listRoomData = JSON.parse(json);
$that.roomStructureInfo.rooms = listRoomData.data; $that.roomStructureInfo.rooms = listRoomData.data;
$that.supportPark();
$that.supportPark() $that.$forceUpdate();
}, },
function(errInfo, error) { function(errInfo, error) {
console.log('请求失败处理'); console.log('请求失败处理');