Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
swifteditor
Commits
76c4805a
Commit
76c4805a
authored
Aug 25, 2021
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增20域getref按钮
parent
1769b9e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
T20.js
src/swift/Tags/T20.js
+4
-1
No files found.
src/swift/Tags/T20.js
View file @
76c4805a
...
...
@@ -54,7 +54,10 @@ export default class T20 extends Component
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Input
maxLength
=
{
16
}
value
=
{
value
.
s1
}
defaultValue
=
{
ref
}
placeholder
=
{
this
.
props
.
desp
}
style
=
{{
'imeMode'
:
'disabled'
}}
onChange
=
{
e
=>
this
.
onChange
(
e
.
target
.
value
)}
/
>
<
Input
addonAfter
=
{
<
Button
size
=
"small"
type
=
"primary"
shape
=
"circle"
icon
=
"reload"
title
=
"reload 20 ref"
onClick
=
{(
e
)
=>
{
let
day
=
new
Date
();
let
dayWrapper
=
moment
(
day
);
let
ref
=
"BW"
+
mty
+
dayWrapper
.
format
(
"X"
)
+
random
.
string
(
1
);
console
.
log
(
ref
);
this
.
props
.
onValue
([{
s1
:
ref
},
ref
])}}
/> } maxLength=
{16}
value={value.s1} defaultValue={ref} placeholder={this.props.desp} style={{'imeMode':'disabled'}} onChange={e=>this.onChange
(
e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
...
...
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