后臺配置項(xiàng)返回格式出錯(cuò),上傳功能將不能正常使用! ueditor.all.js:8111
showErrorMsg @ ueditor.all.js:8111
onsuccess @ ueditor.all.js:8098
xhr.onreadystatechange @ ueditor.all.js:8237
XMLHttpRequest.send (async)
doAjax @ ueditor.all.js:8247
request @ ueditor.all.js:8391
(anonymous) @ ueditor.all.js:8088
setTimeout (async)
UE.Editor.loadServerConfig @ ueditor.all.js:8078
UE.Editor @ ueditor.all.js:6751
UE.ui.Editor @ ueditor.all.js:29333
UE.getEditor @ ueditor.all.js:29457
(anonymous) @ edit:165
這是咋回事?。浚▌e跟我講改時(shí)區(qū)那個(gè),laravel——composer install 的這個(gè)修改版里時(shí)區(qū)直接用的系統(tǒng)時(shí)區(qū),沒毛?。?
2 回答

慕俠2389804
TA貢獻(xiàn)1719條經(jīng)驗(yàn) 獲得超6個(gè)贊
在本地開發(fā)階段的時(shí)候需要注釋掉config文件里的
'core' => [
'route' => [
(注釋掉這里) // 'middleware' => 'auth',
],
這樣就能用了,但是在項(xiàng)目上線之前要依據(jù)自己的項(xiàng)目,編寫對應(yīng)的中間件,比如這個(gè)文本編輯器所屬的視圖是后端管理員的,就要走管理員的auth的中間件,如果是前端用戶的就要用前端用戶的中間件。
- 2 回答
- 0 關(guān)注
- 467 瀏覽
添加回答
舉報(bào)
0/150
提交
取消