수정 4번째..
This commit is contained in:
parent
85829c6fe1
commit
22f294aeff
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div id="app">
|
||||||
<HeaderLayout />
|
<HeaderLayout />
|
||||||
<router-view />
|
<router-view />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -137,8 +137,9 @@ export default {
|
|||||||
{
|
{
|
||||||
key: 'is_done',
|
key: 'is_done',
|
||||||
label: '사용여부',
|
label: '사용여부',
|
||||||
formatter: (value, key, item) => {
|
// formatter: (value, key, item) => {
|
||||||
return value.toLowerCase() === 'true' ? 'Yes' : 'No'
|
formatter: (value) => {
|
||||||
|
return value ? 'Yes' : 'No'
|
||||||
},
|
},
|
||||||
sortable: true,
|
sortable: true,
|
||||||
sortByFormatted: true,
|
sortByFormatted: true,
|
||||||
@ -186,7 +187,7 @@ export default {
|
|||||||
async getDatas() {
|
async getDatas() {
|
||||||
this.isBusy = true
|
this.isBusy = true
|
||||||
const items = await axios
|
const items = await axios
|
||||||
.get('/todo', {
|
.get('/todo/vue3', {
|
||||||
params: {
|
params: {
|
||||||
page: parseInt(this.currentPage),
|
page: parseInt(this.currentPage),
|
||||||
per_page: parseInt(this.perPage),
|
per_page: parseInt(this.perPage),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user