优化v-if 位置出错问题

This commit is contained in:
java110 2022-04-08 08:54:41 +08:00
parent bc9b18c49e
commit de0d1aed90

View File

@ -91,12 +91,12 @@
<button class="btn-white btn btn-xs" v-on:click="_openAdminLoginPropertyModel(propertyCompany)">登录
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-if="propertyCompany.state != '48002'" v-on:click="_openUpdateStoreStateModel(propertyCompany,'48002')">限制登录
<div class="btn-group" v-if="propertyCompany.state != '48002'">
<button class="btn-white btn btn-xs" v-on:click="_openUpdateStoreStateModel(propertyCompany,'48002')">限制登录
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-else v-on:click="_openUpdateStoreStateModel(propertyCompany,'48001')">恢复登录
<div class="btn-group" v-else>
<button class="btn-white btn btn-xs" v-on:click="_openUpdateStoreStateModel(propertyCompany,'48001')">恢复登录
</button>
</div>
<div class="btn-group">