move db setup to its own file
This commit is contained in:
@@ -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