Nuxtjs asyncData () did not get the data to render to the page

{{item}}</li>
        <li>1569</li>
      </ul>
    </div>
</template>

<script>
  import axios from "axios"

    export default {
      layout: "search",
      data(){
        return {
          list: []
        }
      },
      async asyncData() {
        let {status, data: {list}} = await axios.get("http://localhost:3000/city/list")
        if(status === 200){
          return {
            list
          }
        }
      }
    }
</script>

<style>

</style>
Jan.27,2022

async asyncData ({app}) {
let thedataList = [];
return app.$axios.get ('you url'). Then (function (response) {

return { data:response.data }

});
}

< hr >

look at this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3aa8b-4ee96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3aa8b-4ee96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?