Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
a17f543f
Commit
a17f543f
authored
Jan 09, 2018
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed Authorized Demo & Ellipsis tooltip #615
parent
f6109021
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
14 deletions
+4
-14
package.json
package.json
+0
-10
src/components/Authorized/demo/basic.md
src/components/Authorized/demo/basic.md
+2
-2
src/components/Ellipsis/index.js
src/components/Ellipsis/index.js
+1
-1
src/components/GlobalFooter/demo/basic.md
src/components/GlobalFooter/demo/basic.md
+1
-1
No files found.
package.json
View file @
a17f543f
...
...
@@ -87,16 +87,6 @@
"optionalDependencies"
:
{
"nightmare"
:
"^2.10.0"
},
"babel"
:
{
"presets"
:
[
"@babel/preset-env"
,
"@babel/preset-react"
],
"plugins"
:
[
"transform-decorators-legacy"
,
"transform-class-properties"
]
},
"jest"
:
{
"setupFiles"
:
[
"<rootDir>/tests/setupTests.js"
...
...
src/components/Authorized/demo/basic.md
View file @
a17f543f
...
...
@@ -36,7 +36,7 @@ ReactDOM.render(
<
Authorized
authority
=
{
havePermissionAsync
}
noMatch
=
{
noMatch
}
>
<
Alert
message
=
"Use Promise as a parameter passed!"
type
=
"success"
showIcon
/>
</
Authorized
>
</
div
>
mountNode
,
</
div
>
,
mountNode
);
```
src/components/Ellipsis/index.js
View file @
a17f543f
...
...
@@ -171,7 +171,7 @@ export default class Ellipsis extends Component {
<
div
id
=
{
id
}
className
=
{
cls
}
{...
restProps
}
>
<
style
>
{
style
}
<
/style
>
{
tooltip
?
(
<
Tooltip
title
=
{
text
}
>
{
children
}
<
/Tooltip>
)
: childre
n
tooltip
?
(
<
Tooltip
title
=
{
children
}
>
{
children
}
<
/Tooltip>
)
: childre
n
}
<
/div>
)
;
}
...
...
src/components/GlobalFooter/demo/basic.md
View file @
a17f543f
...
...
@@ -15,7 +15,7 @@ const links = [{
title
:
'
帮助
'
,
href
:
''
,
},
{
key
:
'
github
'
key
:
'
github
'
,
title
:
<
Icon
type
=
"github"
/>,
href
:
'
https://github.com/ant-design/ant-design-pro
'
,
blankTarget
:
true
,
...
...
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