增加更多的方法去掉分页条
This commit is contained in:
parent
cf08bbe7ee
commit
82c5a21646
|
@ -1,4 +1,4 @@
|
|||
NODE_ENV=development
|
||||
VUE_APP_API_BASE_URL=http://r4ba683f.natappfree.cc/jeecg-boot
|
||||
VUE_APP_API_BASE_URL=http://pbl1.natapp1.cc/jeecg-boot
|
||||
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
|
||||
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
|
@ -46,6 +46,7 @@
|
|||
},
|
||||
handleClose(){
|
||||
this.visible =false;
|
||||
this.$emit('close');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<!-- table区域-end -->
|
||||
|
||||
<!-- 表单区域 -->
|
||||
<deleteFileModal ref="modalForm"></deleteFileModal>
|
||||
<deleteFileModal ref="modalForm" @close="deleteclose"></deleteFileModal>
|
||||
|
||||
</a-card>
|
||||
</template>
|
||||
|
@ -132,6 +132,11 @@
|
|||
this.loadData();
|
||||
},
|
||||
methods: {
|
||||
deleteclose(){
|
||||
this.ipagination.total = 0;
|
||||
this.ipagination.current = 1;
|
||||
this.loadData();
|
||||
},
|
||||
//筛选需要重写handleTableChange
|
||||
handleTableChange(pagination, filters, sorter) {
|
||||
//分页、排序、筛选变化时触发
|
||||
|
@ -185,9 +190,6 @@
|
|||
} else {
|
||||
this.$message.warning(res.message);
|
||||
}
|
||||
this.ipagination.total = 0;
|
||||
this.ipagination.current = 1;
|
||||
this.loadData();
|
||||
});
|
||||
this.$refs.modalForm.open();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user