Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shuniu-admin-react
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
superman
shuniu-admin-react
Commits
3ecd0dfb
Commit
3ecd0dfb
authored
Aug 29, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.3.7-3
parent
176c13e0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Product-AddItem.js
dist/javascript/Product-AddItem.js
+1
-1
Product-Item.js
dist/javascript/Product-Item.js
+2
-2
ShouyiYongjingForm.jsx
src/components/ProductForm/ShouyiYongjingForm.jsx
+2
-2
No files found.
dist/javascript/Product-AddItem.js
View file @
3ecd0dfb
This diff is collapsed.
Click to expand it.
dist/javascript/Product-Item.js
View file @
3ecd0dfb
This diff is collapsed.
Click to expand it.
src/components/ProductForm/ShouyiYongjingForm.jsx
View file @
3ecd0dfb
...
@@ -117,8 +117,8 @@ export default class ShouyiYongjingForm extends Component {
...
@@ -117,8 +117,8 @@ export default class ShouyiYongjingForm extends Component {
if
(
/^
[\d]
+$/g
.
test
(
key
))
{
if
(
/^
[\d]
+$/g
.
test
(
key
))
{
const
d
=
formData
[
key
];
const
d
=
formData
[
key
];
const
dr
=
{
const
dr
=
{
min
:
String
(
d
.
min
).
trim
(),
min
:
(
typeof
d
.
min
===
'undefined'
)
?
''
:
String
(
d
.
min
).
trim
(),
max
:
String
(
d
.
max
).
trim
(),
max
:
(
typeof
d
.
max
===
'undefined'
)
?
''
:
String
(
d
.
max
).
trim
(),
result
:
{
result
:
{
yj
:
String
(
d
.
yj
).
trim
(),
yj
:
String
(
d
.
yj
).
trim
(),
sy
:
String
(
d
.
sy
).
trim
()
sy
:
String
(
d
.
sy
).
trim
()
...
...
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