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
62bb26b4
Commit
62bb26b4
authored
Feb 02, 2023
by
Kemm23
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete UI
parent
a802f028
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
pages/categories/index.vue
+3
-2
No files found.
pages/categories/index.vue
View file @
62bb26b4
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<v-col
cols=
"12"
>
<v-col
cols=
"12"
>
<v-select
<v-select
v-model=
"eParentId"
v-model=
"eParentId"
:items=
"categories.filter(category => category.parent_id === null)"
:items=
"categories.filter(category => category.parent_id === null
&& category.id !== eID
)"
item-text=
"name"
item-text=
"name"
item-value=
"id"
item-value=
"id"
label=
"Parent"
label=
"Parent"
...
@@ -459,7 +459,8 @@ export default {
...
@@ -459,7 +459,8 @@ export default {
this
.
eParentId
=
item
.
parent_id
this
.
eParentId
=
item
.
parent_id
this
.
eImage
=
item
.
images
this
.
eImage
=
item
.
images
this
.
editedIndex
=
this
.
categories
.
indexOf
(
item
)
this
.
editedIndex
=
this
.
categories
.
indexOf
(
item
)
console
.
log
(
item
)
console
.
log
(
this
.
eID
)
console
.
log
(
this
.
categories
)
},
},
updateCategory
(
userID
)
{
updateCategory
(
userID
)
{
const
self
=
this
const
self
=
this
...
...
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