main^2
fanfan 6 months ago
parent c0811b12c6
commit f749b0fabe
  1. 4
      src/views/dataCenter/goods/Index.vue

@ -483,6 +483,7 @@ export default {
selectedRowKeys: [],
// Promise
loadData: (param) => {
console.log(param)
const data = { ...param, ...this.queryParam }
const orderEnum = {
ascend: 'asc',
@ -740,7 +741,7 @@ export default {
}
},
refreshParentMethod() {
this.handleRefresh(true)
this.handleRefresh(false)
},
//
async handleEdit(id) {
@ -1028,6 +1029,7 @@ export default {
* @param Boolean bool 强制刷新到第一页
*/
handleRefresh(bool = false) {
console.log(bool)
this.selectedRowKeys = []
this.$refs.table.refresh(bool)
},

Loading…
Cancel
Save