Commit 432f7d0f by liang ce

分页测试修改

parent f52e6859
......@@ -4,7 +4,7 @@ import qs from 'qs'
// axios.defaults.baseURL = 'http://192.168.1.174:8300' // 本地钱
axios.defaults.baseURL = 'http://139.196.213.18:8300' // beta环境
let loadingInstance // 创建Loading 的实例
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'
// axios.defaults.headers.post['Content-Type'] = 'application/json; charset=utf-8'
// axios.defaults.crossDomain = true
// axios.defaults.withCredentials = true // 设置cross跨域 并设置访问权限 允许跨域携带cookie信息
axios.defaults.headers['Authorization'] = `Bearer ${sessionStorage.getItem('token')}` // 设置请求头为 Authorization
......
const MINGPAY_CONSTANT = {
MINGPAY_CONSTANT_URL: 'http://mingpay-web-beta.mingwork.com:8888/',
// MINGPAY_CONSTANT_URL: 'http://ming.vaiwan.com/',
// MINGPAY_CONSTANT_URL: 'http://mingpay-web-beta.mingwork.com:8888/',
MINGPAY_CONSTANT_URL: 'http://ming.vaiwan.com/',
MINGPAY_CONSTANT_AGENTID: 270198704,
MINGPAY_CONSTANT_VERSION: 'v1'
}
......
......@@ -107,7 +107,7 @@ export default {
pagination: {
current: 1,
defaultCurrent: 10,
defaultPageSize: 2,
defaultPageSize: 10,
hideOnSinglePage: true,
total: 0
},
......
......@@ -136,7 +136,7 @@ export default {
pagination: {
current: 1,
defaultCurrent: 10,
defaultPageSize: 2,
defaultPageSize: 10,
hideOnSinglePage: true,
total: 0
},
......
......@@ -171,7 +171,7 @@ export default {
},
queryRechargeList () {
let RechargeData = this.$qs.stringify({
pageNumber: 2,
pageNumber: 10,
currentPage: 1,
agentId: this.searchSource.agentId,
status: this.searchSource.status,
......
......@@ -104,7 +104,7 @@ export default {
pagination: {
current: 1,
defaultCurrent: 10,
defaultPageSize: 2,
defaultPageSize: 10,
hideOnSinglePage: true,
total: 0
},
......
......@@ -39,7 +39,7 @@ export default {
pagination: {
current: 1,
defaultCurrent: 10,
defaultPageSize: 2,
defaultPageSize: 10,
hideOnSinglePage: true,
total: 0
},
......
......@@ -38,6 +38,7 @@ router.beforeEach(function (to, from, next) {
next()
} else {
config.ddconfig().then((res) => {
console.log(res)
if (res === 'no') {
console.log('no', res)
next({ name: 'configError' })
......
......@@ -76,6 +76,11 @@ export default new Router({
]
}
]
},
{
path: '/noPermission',
name: 'noPermission',
component: resolve => require(['./components/pages/NoPermission.vue'], resolve)
}
]
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment