ps:官网看半天没看到。。。
<script setup>
//生命周期钩子函数
onCreated(()=>{
//var _this = this
axios.get('http://localhost:8181/book/findAll/1/5').then(function(resp){
console.log(resp.data)
})
})
//普通方法
const handleClick = (row) => {
//console.log(row)
router.push("/update")
}
</script>