Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
9b22298e
Commit
9b22298e
authored
Jan 25, 2021
by
kusang96
Browse files
ㅌㅌㅋ
parent
81cf0c68
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/Pages/ProductRegist.js
View file @
9b22298e
...
@@ -102,11 +102,8 @@ function ProductsRegist() {
...
@@ -102,11 +102,8 @@ function ProductsRegist() {
}
}
function
deleteColor
(
e
)
{
function
deleteColor
(
e
)
{
// console.log("e.name=",e.target.name)
e
.
target
.
parentNode
.
remove
()
e
.
target
.
parentNode
.
remove
()
product
[
"
colors
"
].
splice
(
e
.
name
,
1
)
product
[
"
colors
"
].
splice
(
e
.
name
,
1
)
// setColor({})
// console.log(product)
}
}
function
handleColor
(
e
)
{
function
handleColor
(
e
)
{
...
...
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