Ajax failed to get data

1. Want to get the background data, but the foreground can"t call it. If you write a simple test and still can"t get the data, you can directly prompt that the data loading failed

.
   

Mar.16,2021

alert ("data load failed"). It should be the failure of the ajax request. Ask your backend


you didn't return the data at the end

.
Menu