mac 终端新建一个文件命令
touch 文件名.后缀
eg:touch list.json
axios.get('/api/todolist')
.then((res) => {
//成功
console.log(res)
})
.catch(() => {
//失败
})
mac 终端新建一个文件命令
touch 文件名.后缀
eg:touch list.json
axios.get('/api/todolist')
.then((res) => {
//成功
console.log(res)
})
.catch(() => {
//失败
})