You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
1 year ago
|
const basicRouteUrl = 'index';
|
||
|
module.exports = {
|
||
|
basicRouteUrl,
|
||
|
basicRouteName: "首页",
|
||
|
routerConfigs: [{
|
||
|
url: '/detail',
|
||
|
type: "post",
|
||
|
name: "详情table",
|
||
|
desc: "详情tablelist",
|
||
|
accessUrl: basicRouteUrl + '/detail',
|
||
|
mockData: {
|
||
|
"data|1-9": [{
|
||
|
id: 4,
|
||
|
name: "我的名字",
|
||
|
ip: "192",
|
||
|
port: "3306",
|
||
|
sid: "student"
|
||
|
}]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
url: '/list',
|
||
|
type: "post",
|
||
|
name: "table-list",
|
||
|
desc: "table-list api",
|
||
|
accessUrl: basicRouteUrl + '/list',
|
||
|
mockData: {
|
||
|
'data|1-20': [{
|
||
|
id: 4,
|
||
|
name: "我的名字",
|
||
|
ip: "192.168.10.123",
|
||
|
port: "3306",
|
||
|
sid: "student_info",
|
||
|
username: "student",
|
||
|
password: '12345678',
|
||
|
createTime: 1590560278000,
|
||
|
fz: 1,
|
||
|
type: 1,
|
||
|
remark: "我是一个备注"
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|