恢复测试展开,收起代码是否与原生有关

This commit is contained in:
liyuetong
2021-08-02 13:43:35 +08:00
parent 20a3cb4e0d
commit 2d33188a20

View File

@@ -86,7 +86,7 @@
<div class="bottom-btn bg-white pt10 pb10 flex justify-content-s" style="border-top: 1px solid #dadada;" v-if="active == 'notApproved'">
<div>
<van-button class="ml10 mr10" type="danger" :plain='total != claimApprovalIds.length' round size="small" @click="checkAll">全选</van-button>
<van-button class="ml10 mr10" type="danger" round size="small" @click="collapseAll">展开</van-button>
<!-- <van-button class="ml10 mr10" type="danger" round size="small" @click="collapseAll">展开</van-button> -->
<span class="fs12">合计{{totalMoney}}</span>
</div>
<div>
@@ -160,7 +160,6 @@ export default {
},
//右上角,全部展开、全部收起
collapseAll(){
this.isOpen = this.isOpen == '0' ? (this.isOpen = '1') : (this.isOpen = '0')
let that = this
if(that.isOpen == '0'){
that.activeNames = []