解決vue工程報錯Uncaught (in promise) Error: Request failed with status code 404

今天新加頁面後首頁查不到數據,報錯Uncaught (in promise) Error: Request failed with status code 404node 大概意思就是沒有獲取到後臺傳過來的數據,一開始覺得是後臺控制層的問題,找了半天promise 最後發現是在app/config/index.js裏面配置沒有配置proxy代理,請求沒有從nodejs路由到tomcattomcat
相關文章
相關標籤/搜索