1 Star 0 Fork 103

文璧轩/ReportPro

forked from report/ReportPro 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
admin.config.js 1.32 KB
Copy Edit Raw Blame History
howcode authored 2021-03-26 17:41 . 初始化仓库
export default {
login: {
url: '/pages/login/login' // 登录页面路径
},
index: {
url: '/pages/index/index' // 登录后跳转的第一个页面
},
error: {
url: '/pages/error/404' // 404 Not Found 错误页面路径
},
navBar: { // 顶部导航
logo: '/static/logo.png', // 左侧 Logo
links: [{ // 右侧链接
text: '框架文档',
url: 'https://uniapp.dcloud.net.cn/uniCloud/admin'
}, {
text: '浏览更多插件',
url: 'https://ext.dcloud.net.cn/?cat1=7&cat2=74'
}],
debug: {
enable: process.env.NODE_ENV !== 'production', //是否显示错误信息
engine: [{ // 搜索引擎配置(每条错误信息后,会自动生成搜索链接,点击后跳转至搜索引擎)
name: '百度',
url: 'https://www.baidu.com/baidu?wd=ERR_MSG'
}, {
name: '谷歌',
url: 'https://www.google.com/search?q=ERR_MSG'
}]
}
},
sideBar: { // 左侧菜单
// 配置静态菜单列表(放置在用户被授权的菜单列表下边)
staticMenu: [{
menu_id: "demo",
name: '静态功能演示',
icon: 'uni-icons-list',
url: "",
children: [{
menu_id: "icons",
name: '图标',
icon: 'uni-icons-star',
url: '/pages/demo/icons/icons',
}, {
menu_id: "table",
name: '表格',
icon: 'uni-icons-map',
url: '/pages/demo/table/table',
}]
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/LucienLeng/ReportPro.git
git@gitee.com:LucienLeng/ReportPro.git
LucienLeng
ReportPro
ReportPro
master

Search