-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: App mgmt for isv and admin #617
Conversation
Codecov Report
@@ Coverage Diff @@
## master #617 +/- ##
=========================================
- Coverage 14.42% 14.22% -0.2%
=========================================
Files 104 106 +2
Lines 1747 1771 +24
Branches 385 388 +3
=========================================
Hits 252 252
- Misses 1438 1462 +24
Partials 57 57
Continue to review full report at Codecov.
|
@@ -33,6 +33,10 @@ export default class Image extends React.Component { | |||
} | |||
|
|||
shouldComponentUpdate(nextProps, nextState) { | |||
if (nextProps.src !== this.props.src) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't setState in shouldCompnentUpdate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If src value initialize to "", this.state.failed will true. The nex props src has value, but 'failed' still is true, this is a bug.
@@ -171,6 +171,8 @@ | |||
transition: all $transition-speed; | |||
word-wrap: break-word; | |||
word-break: break-all; | |||
font-size: 12px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font-size: $size-small
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General font not used variable,only color used variable
@@ -0,0 +1,699 @@ | |||
import React, { Component, Fragment } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this file not used, can remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,maybe other undeveloped pages refer to this page.
6ad8742
to
6c91f58
Compare
solve #599 -- App mgmt