React link node interface to get data without database?

set an interface in node and call it with react. The status code always shows that the status code is 304
react:

.
componentWillReceiveProps(nextProps){
    let that=this;
    let tab=nextProps.tab||"attention";
    let sort=nextProps.sort||"like"
    $.ajax({
        type:"get",
        url:"/list/show",
        success:function(data){
            console.log(data)
        }
    })
}

node:

console.log(2)
app.get("/list/show",(req,res)=>{
    console.log(1)
    res.send({name:"12"})
})

when node executes, the console prints as follows:

clipboard.png

:

clipboard.png

clipboard.png

at first, I thought it was wrong to pass parameters to the node interface, but now the interface is simplified to the simplest. How is this caused, and why the app.get cannot enter the function and console does not come out 1?

Mar.16,2021

ajax({
  ...
  cache: false
})
Menu