在我用我的專案、composer install 和所有內容以及 php artisan serve 制作了一個 git clone 之后,我只得到了三行如下所示的頁腳:2022 ? Webshooter LM AB | Du anv?nder 版本 4.1.9 | Laravel 9.12.2 screendump: https://imgur.com/Lyt5IhS 如果我將 http://localhost:8000/app/ 更改為 http://localhost:8000/auth/login 我會進入登錄頁面。如何防止這種情況直接進入資訊頁面如下:https://imgur.com/eNJzxWW 然后地址欄位為: http://localhost:8000 之后就沒有問題了,只有在 git clone 之后才會出現.
這里有更多資訊。
克隆:
git 克隆https://github.com/WebshooterLM/Webshooter_web_Laravel9.git
這是克隆后在我的終端中的外觀:
Ralphs-MacBook:Webshooter_web_Laravel9 ralph$ pwd
/Users/ralph/laravel9-final/Webshooter_web_Laravel9
Ralphs-MacBook:Webshooter_web_Laravel9 ralph$
Ralphs-MacBook:Webshooter_web_Laravel9 ralph$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
然后我做 php artisan serve
當我將 localhost:8000 放在地址欄位中時,我只看到三個頁腳行。
這是在地址欄位中:http://localhost:8000/app/ 它應該只顯示 http://localhost:8000
這是它卡在的 app.blade:
@include('layouts.header')
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
</script>
<base href="/">
<div ui-view="navigation" class="hidden-print"></div>
<div class="row hidden-print" ng-show="loadingState">
<div class="col-sm-2 col-sm-offset-5 text-center text-muted padding-top-30 padding-bottom-30">
<div class='uil-default-css'>
<div style='top:60px;left:96px;width:8px;height:80px;background:#00ABAA;-webkit-transform:rotate(0deg) translate(0,-60px);transform:rotate(0deg) translate(0,-60px);border-radius:0px;position:absolute;'></div>
<div style='top:60px;left:96px;width:8px;height:80px;background:#00ABAA;-webkit-transform:rotate(90deg) translate(0,-60px);transform:rotate(90deg) translate(0,-60px);border-radius:0px;position:absolute;'></div>
<div style='top:60px;left:96px;width:8px;height:80px;background:#00ABAA;-webkit-transform:rotate(180deg) translate(0,-60px);transform:rotate(180deg) translate(0,-60px);border-radius:0px;position:absolute;'></div>
<div style='top:60px;left:96px;width:8px;height:80px;background:#00ABAA;-webkit-transform:rotate(270deg) translate(0,-60px);transform:rotate(270deg) translate(0,-60px);border-radius:0px;position:absolute;'></div>
</div>
</div>
</div>
<div class="container-fluid" ng-hide="loadingState">
<div class="row">
<div class="col-sm-12">
@include('alerts.factorymessages')
<div ui-view="content"></div>
</div>
</div>
</div>
@include('layouts.footer')
當我重繪 時,它會在短時間內顯示大的綠色十字。之后,僅顯示三個頁腳行。當加載頁面需要一段時間時,十字架會正常旋轉。
如果我寫 http://localhost:8000/auth/login 登錄頁面會出現,之后一切正常。該問題僅在新克隆后直接出現。
可能是什么問題呢?
uj5u.com熱心網友回復:
我很確定它取決于瀏覽器。該錯誤每次都出現在 Mac Safari 中,但不會出現在 Firefox 中,有時只會出現在 Chrome 中。我也下載了 MS Edge 并且 Webshooter 沒有問題。所以我認為問題出在 Safari 上。無論如何,感謝您的幫助。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/475322.html
上一篇:推送一個帶有密碼的專案
