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