move db setup to its own file
This commit is contained in:
1 parent
c8614a7fa0
commit
5f580e172c
2 files changed
+4
-81
No files matched your search
@@ -42,11 +42,12 @@ import axios from 'axios'
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
let count = 10
|
||||
const characters = ref({})
|
||||
const pageCount = ref(1)
|
||||
const page = ref(1)
|
||||
|
||||
let count = 10
|
||||
|
||||
async function loadData() {
|
||||
const response = await axios.post('/api/character', {
|
||||
page: `${page.value-1}`,
|
||||
|
||||
Reference in new issue
Block a user