Skip to content

Commit 519384c

Browse files
lightlight
authored andcommitted
fix: 修复UI显示
1 parent 73b3e80 commit 519384c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/containers/profile/ProfileMode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ export default class ProfileMode extends Component {
4343
if (this.props.user.emotions_basis) {
4444
const reports = this.props.user.emotions_report.split('\n')
4545
for (let report of reports) {
46-
const indexLeft = report.indexOf('(')
47-
const indexRight = report.indexOf(')')
46+
const indexLeft = report.indexOf('')
47+
const indexRight = report.indexOf('')
4848
const title = report.slice(indexLeft + 1, indexRight)
4949
const content = report.slice(0, indexLeft)
50-
50+
5151
reportList.push({ title, content })
5252
}
5353

0 commit comments

Comments
 (0)