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
945e5b90
Commit
945e5b90
authored
Feb 07, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix image categories
parent
802a43ba
Changes
1
Hide 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 @
945e5b90
...
@@ -201,6 +201,7 @@
...
@@ -201,6 +201,7 @@
prepend-icon=
"mdi-camera"
prepend-icon=
"mdi-camera"
/>
/>
</v-col>
</v-col>
<v-img
v-if=
"typeof image === 'string'"
:src=
"image"
/>
</v-row>
</v-row>
</v-container>
</v-container>
<small>
*indicates required field
</small>
<small>
*indicates required field
</small>
...
@@ -519,7 +520,7 @@ export default {
...
@@ -519,7 +520,7 @@ export default {
this
.
eName
=
item
.
name
this
.
eName
=
item
.
name
this
.
eOrdering
=
item
.
ordering
this
.
eOrdering
=
item
.
ordering
this
.
eParentId
=
item
.
parent_id
this
.
eParentId
=
item
.
parent_id
this
.
eImage
=
item
.
image
s
this
.
eImage
=
item
.
image
this
.
editedIndex
=
this
.
categories
.
indexOf
(
item
)
this
.
editedIndex
=
this
.
categories
.
indexOf
(
item
)
console
.
log
(
this
.
eID
)
console
.
log
(
this
.
eID
)
console
.
log
(
this
.
eImage
)
console
.
log
(
this
.
eImage
)
...
@@ -528,7 +529,7 @@ export default {
...
@@ -528,7 +529,7 @@ export default {
this
.
eName
=
item
.
name
this
.
eName
=
item
.
name
this
.
eOrdering
=
item
.
ordering
this
.
eOrdering
=
item
.
ordering
this
.
eParentId
=
item
.
parent_id
this
.
eParentId
=
item
.
parent_id
this
.
eImage
=
item
.
image
s
this
.
eImage
=
item
.
image
},
},
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