Skip to content

Commit 4e256ac

Browse files
zhangxiaoshangvanoneang
authored andcommitted
fix: 获取图书列表时loading状态无效 (#252)
1 parent 9f3656d commit 4e256ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/book/BookList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
},
4444
async created() {
4545
this.loading = true
46-
this.getBooks()
46+
await this.getBooks()
4747
this.operate = [{ name: '编辑', func: 'handleEdit', type: 'primary' }, {
4848
name: '删除',
4949
func: 'handleDelete',

0 commit comments

Comments
 (0)