优化中奖权重计算方式
This commit is contained in:
@@ -21,8 +21,8 @@ import { HttpError, handleError, showError, showSuccess } from './error'
|
||||
import { $t } from '@/locales'
|
||||
import { BaseResponse } from '@/types'
|
||||
|
||||
/** 请求配置常量 */
|
||||
const REQUEST_TIMEOUT = 15000
|
||||
/** 请求配置常量(超时时间 30s) */
|
||||
const REQUEST_TIMEOUT = 30000
|
||||
const LOGOUT_DELAY = 500
|
||||
const MAX_RETRIES = 0
|
||||
const RETRY_DELAY = 1000
|
||||
|
||||
@@ -40,9 +40,9 @@ export const tableConfig = {
|
||||
// 总条数
|
||||
totalFields: ['total', 'count'],
|
||||
// 当前页码
|
||||
currentFields: ['current', 'page', 'pageNum'],
|
||||
currentFields: ['current', 'page', 'pageNum', 'current_page'],
|
||||
// 每页大小
|
||||
sizeFields: ['size', 'pageSize', 'limit'],
|
||||
sizeFields: ['size', 'pageSize', 'limit', 'per_page'],
|
||||
|
||||
// 请求参数映射配置,前端发送请求时使用的分页参数名
|
||||
// useTable 组合式函数传递分页参数的时候 用 current 跟 size
|
||||
|
||||
Reference in New Issue
Block a user