Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
39666ecf
Commit
39666ecf
authored
Feb 10, 2023
by
vietanh-0511
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eslint bug
parent
fe51c5cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Navbar.vue
components/Navbar.vue
+1
-1
index.vue
pages/categories/index.vue
+4
-4
index.vue
pages/users/index.vue
+2
-2
No files found.
components/Navbar.vue
View file @
39666ecf
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
const
resp
=
await
this
.
$axios
.
post
(
'
/logout
'
,
{
const
resp
=
await
this
.
$axios
.
post
(
'
/logout
'
,
{
token
:
this
.
$auth
.
$storage
.
getUniversal
(
'
token
'
)
token
:
this
.
$auth
.
$storage
.
getUniversal
(
'
token
'
)
})
})
if
(
resp
.
status
==
'
200
'
)
{
if
(
resp
.
status
==
=
'
200
'
)
{
this
.
$toast
.
success
(
'
Logout!
'
,
{
this
.
$toast
.
success
(
'
Logout!
'
,
{
duration
:
2000
duration
:
2000
})
})
...
...
pages/categories/index.vue
View file @
39666ecf
...
@@ -290,13 +290,13 @@
...
@@ -290,13 +290,13 @@
<
template
#
[`
item
.
index
`
]=
"{ index }"
>
<
template
#
[`
item
.
index
`
]=
"{ index }"
>
{{
index
+
1
}}
{{
index
+
1
}}
</
template
>
</
template
>
<
template
#
item.created_at
=
"{ item }"
>
<
template
#
[`
item
.
created_at
`
]
=
"{ item }"
>
<span>
{{
formatDate
(
item
.
created_at
)
}}
</span>
<span>
{{
formatDate
(
item
.
created_at
)
}}
</span>
</
template
>
</
template
>
<
template
#
item.updated_at
=
"{ item }"
>
<
template
#
[`
item
.
updated_at
`
]
=
"{ item }"
>
<span>
{{
formatDate
(
item
.
updated_at
)
}}
</span>
<span>
{{
formatDate
(
item
.
updated_at
)
}}
</span>
</
template
>
</
template
>
<
template
#
item.actions
=
"{ item }"
>
<
template
#
[`
item
.
actions
`
]
=
"{ item }"
>
<v-icon
:id=
"item.id"
small
@
click=
"dialog2 = true; editCategory(item)"
>
<v-icon
:id=
"item.id"
small
@
click=
"dialog2 = true; editCategory(item)"
>
mdi-pencil
mdi-pencil
</v-icon>
</v-icon>
...
@@ -585,7 +585,7 @@ export default {
...
@@ -585,7 +585,7 @@ export default {
}
}
},
},
clearData () {
clearData () {
// eslint-disable-next-line no-unused-expressions
// eslint-disable-next-line no-unused-expressions
, no-sequences
this.parent_id = '',
this.parent_id = '',
this.name = '',
this.name = '',
this.ordering = '',
this.ordering = '',
...
...
pages/users/index.vue
View file @
39666ecf
...
@@ -167,10 +167,10 @@
...
@@ -167,10 +167,10 @@
<
template
#
[`
item
.
index
`
]=
"{ index }"
>
<
template
#
[`
item
.
index
`
]=
"{ index }"
>
{{
index
+
1
}}
{{
index
+
1
}}
</
template
>
</
template
>
<
template
#
item.created_at
=
"{ item }"
>
<
template
#
[`
item
.
created_at
`
]
=
"{ item }"
>
<span>
{{
formatDate
(
item
.
created_at
)
}}
</span>
<span>
{{
formatDate
(
item
.
created_at
)
}}
</span>
</
template
>
</
template
>
<
template
#
item.updated_at
=
"{ item }"
>
<
template
#
[`
item
.
updated_at
`
]
=
"{ item }"
>
<span>
{{
formatDate
(
item
.
updated_at
)
}}
</span>
<span>
{{
formatDate
(
item
.
updated_at
)
}}
</span>
</
template
>
</
template
>
<
template
#
[`
item
.
actions
`
]=
"{ item }"
>
<
template
#
[`
item
.
actions
`
]=
"{ item }"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment