下面是我的自定义控件代码的问题。我已经创建了两个自定义控件
<pv-Show-Box></pv-Show-Box>
<pv-Hello>Praveen</pv-Hello>
both are working fine but <pv-show-Box> is not working when it is in reverse order
like
<pv-Hello>Praveen</pv-Hello>
<pv-Show-Box></pv-Show-Box>
mumodule.dir
我目前在显示导航栏时使用@auth('brand'),如果不是auth,则隐藏导航栏并显示登录按钮。到目前为止,这就是我所拥有的:
@auth('brand')
//show navigations
@endauth
if not auth
Button Login
end not auth
尝试过
if(!@auth('brand'))
//show navigations
@endif
//but this is not working, it's showing the nav bar and the log in butt