feat: 使用 axios 扩展的方式实现 mock 数据

This commit is contained in:
FairyEver
2020-05-07 23:02:12 +08:00
parent 28acfdbb04
commit ac9b1ea26d
14 changed files with 161 additions and 41 deletions

View File

@@ -65,6 +65,7 @@ export default {
this.$notify({
title: '模拟表格数据请求完毕'
})
console.log(res)
this.table = res.list
this.page.pageTotal = res.page.total
})