Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
84708222
authored
Oct 27, 2022
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
【OPTIMIZE】多行输入框优化
parent
fd8da620
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
src/components/form/index.styl
src/components/form/input.tsx
src/pages/mix_consume/form.tsx
src/components/form/index.styl
View file @
84708222
...
@@ -66,11 +66,9 @@
...
@@ -66,11 +66,9 @@
&__multi
&__multi
text-align left
text-align left
width 100%
width 100%
border-width 1px
border-color #ddd
border-color #ddd
padding 10px
padding 0px
border-radius 4px
margin-top 15px
margin-top 10px
flex 1
flex 1
&-radio
&-radio
...
...
src/components/form/input.tsx
View file @
84708222
...
@@ -65,6 +65,7 @@ export default class Input extends Component<IProps> {
...
@@ -65,6 +65,7 @@ export default class Input extends Component<IProps> {
maxLength=
{
140
}
maxLength=
{
140
}
placeholderTextColor=
{
placehold_text_color
}
placeholderTextColor=
{
placehold_text_color
}
underlineColorAndroid=
"transparent"
underlineColorAndroid=
"transparent"
textAlignVertical=
{
item
.
multiline
?
'top'
:
'center'
}
/>
/>
</
TouchableOpacity
>
</
TouchableOpacity
>
)
)
...
...
src/pages/mix_consume/form.tsx
View file @
84708222
...
@@ -205,12 +205,6 @@ class ConsumeForm extends Component<IProps, IState> {
...
@@ -205,12 +205,6 @@ class ConsumeForm extends Component<IProps, IState> {
},
0
)
},
0
)
}
}
componentWillUnmount
()
{
// this.props.consumeStore.resetOrderLines()
// this.props.consumeStore.setSelectedLines([])
console
.
log
(
'Consume page will unmount'
)
}
/**
/**
* @description: 设置配置性的表单字段
* @description: 设置配置性的表单字段
* @param {*}
* @param {*}
...
...
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