路由调整
This commit is contained in:
parent
3430a6309c
commit
f8dee855bd
|
@ -31,7 +31,7 @@ const DEFAULT_CONFIG = {
|
|||
|
||||
//布局 默认:default | 通栏:header | 经典:menu | 功能坞:dock
|
||||
//dock将关闭标签和面包屑栏
|
||||
LAYOUT: 'default',
|
||||
LAYOUT: 'header',
|
||||
|
||||
//菜单是否折叠
|
||||
MENU_IS_COLLAPSE: false,
|
||||
|
|
1100
src/config/route.js
1100
src/config/route.js
File diff suppressed because it is too large
Load Diff
|
@ -4,16 +4,16 @@ export default {
|
|||
pageSize: 20, //表格每一页条数
|
||||
parseData: function (res) {
|
||||
return {
|
||||
data: res.data,
|
||||
rows: res.data.rows, //分析行数据字段结构
|
||||
total: res.data.total, //分析总数字段结构
|
||||
msg: res.message, //分析描述字段结构
|
||||
code: res.code //分析状态字段结构
|
||||
data: res,
|
||||
rows: res.results, //分析行数据字段结构
|
||||
total: res.count, //分析总数字段结构
|
||||
// msg: res.message, //分析描述字段结构
|
||||
// code: res.code //分析状态字段结构
|
||||
}
|
||||
},
|
||||
request: {
|
||||
page: 'page', //规定当前分页字段
|
||||
pageSize: 'pageSize', //规定一页条数字段
|
||||
pageSize: 'page_size', //规定一页条数字段
|
||||
keyword: 'keyword' //规定搜索字段
|
||||
},
|
||||
props: {
|
||||
|
|
|
@ -131,8 +131,11 @@ export default {
|
|||
});
|
||||
this.$message.success("Login Success 登录成功");
|
||||
this.islogin = false;
|
||||
} catch (err) {console.log(err);}
|
||||
} catch (err) {
|
||||
this.islogin = false;
|
||||
console.log(err);}
|
||||
} catch (err) {
|
||||
this.islogin = false;
|
||||
console.log(err);
|
||||
}
|
||||
// var res = await this.$API.auth.token.post(data)
|
||||
|
|
Loading…
Reference in New Issue