【发布时间】:2021-12-29 17:07:43
【问题描述】:
当有人点击无效 url 时如何显示 Oracle Ojet 应用程序的错误页面?如果 appController.js 是主路由定义的地方,如何使用添加无效命中?
谢谢!
【问题讨论】:
标签: oracle oracle-jet
当有人点击无效 url 时如何显示 Oracle Ojet 应用程序的错误页面?如果 appController.js 是主路由定义的地方,如何使用添加无效命中?
谢谢!
【问题讨论】:
标签: oracle oracle-jet
let navData = [
{ path: '', redirect: 'dashboard' },
{ path:'404',detail: { label: '', iconClass: '' }},
{ path: 'about', detail: { label: 'About', iconClass: 'oj-ux-ico-information-s'}}
{path:/.*/,redirect:404,detail:{ label: '', iconClass: '' }}
];
【讨论】: