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

Loading…
Cancel
Save