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
c96ed5be
authored
Jun 03, 2020
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
【TextInput】设置默认首字母不大写(解决IOS下默认大写问题)
parent
c1258d20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
App.js
App.js
View file @
c96ed5be
...
@@ -12,9 +12,9 @@ import configureStore from './app/store/configureStore';
...
@@ -12,9 +12,9 @@ import configureStore from './app/store/configureStore';
import
Router
from
'./app/Router'
;
import
Router
from
'./app/Router'
;
const
store
=
configureStore
();
const
store
=
configureStore
();
// 字体不随系统字体变化
// 字体不随系统字体变化
首字母不大写
Text
.
defaultProps
=
Object
.
assign
({},
Text
.
defaultProps
,
{
allowFontScaling
:
false
})
Text
.
defaultProps
=
Object
.
assign
({},
Text
.
defaultProps
,
{
allowFontScaling
:
false
})
TextInput
.
defaultProps
=
Object
.
assign
({},
TextInput
.
defaultProps
,
{
allowFontScaling
:
false
})
TextInput
.
defaultProps
=
Object
.
assign
({},
TextInput
.
defaultProps
,
{
allowFontScaling
:
false
,
autoCapitalize
:
'none'
})
export
default
class
App
extends
Component
{
export
default
class
App
extends
Component
{
render
()
{
render
()
{
...
...
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