我正在使用laravel 5.2而我正试图让我的导航说明它是否处于活动状态。我到目前为止设法做到这一点,但是当我第一次登陆我的页面时,主页链接未设置为活动状态,所以我想要做的是,如果我当前页面等于登陆页面然后主页链接必须是活动的,否则主页链接不能激活类。
我的js
var current_page_URL = location.href;
console.log(current_page_URL);
if(current_page_URL == '/'){
console.log("yes");
}else{
console.log("no");
}
我希望我有道理
答案 0 :(得分:0)
[tblDateChanges]
RegProjChangeID RegProjID DateOfDateChange UserName ReasonForChange
--------------- --------- ---------------- -------- ---------------
355 116 19 Jan 2016 dskelly "Duplicate Request from Simon Wong CPP Request already in process Original Request # 13661"
1549 116 21 Mar 2016 sdoyle This request looks like an entry error - it is logged as Trandate 200mg tablets, but refers to a broken ampoule. We received an enquiry from Francisco Gomez for information on a broken Trandate ampoule which has been logged correctly as Req ID 18540.
你想要这样的东西吗?