页面报错404,毕设,急求解决!!!谢谢大家

拜托好心人帮帮忙!!!
//路由
define([], function()
{
    return {
        defaultRoutePath: location.href.indexOf("login.html") > -1 ?"/login" : "/home",
        routes: {
            //登录
            "/login": {
                templateUrl: "apps/adminUser/views/login.html",
                controllerUrl: "apps/adminUser/controllers/login",
                dependencies: []
            },
            //首页
            "/home": {
                templateUrl: "apps/home/views/home.html",
                controllerUrl: "apps/home/controllers/home"
            },
            //申请单
            "/loanApply/list": {
                templateUrl: "apps/loanApply/views/list.html",
                controllerUrl: "apps/loanApply/controllers/list"
            }
        }
    };
});

//html里的
<div class="menu-item">
    <a class="menu-link" href="javascript:void(0);"><i class="iconfont">&#xe604;</i>业务审批管理<b class="iconfont arrow1-right"></b></a>
    <ul class="sub-menu">
        <li><a class="sub-link" href="#/loanApply/list">购车申请审核</a></li>
        <li><a class="sub-link" href="#/loanApply/list">查征信结果录入</a></li>
        <li><a class="sub-link" href="#/loanApply/list">业务审核</a></li>
    </ul>
</div>


Zjyyjz
浏览 1799回答 1
1回答

田心枫

把整个页面改成1,看能不能显示1;不能的话感觉是路由问题  或者服务器指向不对
打开App,查看更多内容
随时随地看视频慕课网APP