我用LexikAuthentication捆綁。當我嘗試使用AJAX的login_check使UI,我回來在localStorage的令牌,但是當我嘗試登錄到我的UI,我得到401 not authorization。 這是我login_check: function authenticate(e) {
e.preventDefault();
$.ajax({
我創建了一個小文件管理器來管理我的文件。一方面,JsTree顯示了文件夾結構。在右側,我希望基於點擊左側文件夾,我顯示了該文件夾中包含的文件。 點擊一個Ajax調用,調用selectFiles方法來遍歷路由。現在在控制檯中,我看到了正確的數據,但我不知道如何將它用於刀片中的foreach。 AJAX: // chiamata Ajax per selezionare files in base a