feat:购物车商品级退款
This commit is contained in:
1 parent
8648d8d8a3
commit
ca11691c03
7 files changed
+182
-62
No files matched your search
+2
-2
@@ -203,13 +203,13 @@ export function useTable(options?: BasicTableProps) {
|
||||
* 刷新后不跳转第一页,则入参 getDataList(false)
|
||||
* @param refresh 是否刷新当前页码
|
||||
*/
|
||||
const getDataList = (refresh?: any) => {
|
||||
const getDataList = async (refresh?: any) => {
|
||||
// 如果需要刷新,则将state.pagination.current重置为1
|
||||
if (refresh !== false) {
|
||||
state.pagination!.current = 1
|
||||
}
|
||||
// 再次发起查询操作
|
||||
query()
|
||||
await query()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user