wrap up detailframework in atcard in repair page

This commit is contained in:
Dawn_Ocean
2024-03-14 16:51:21 +08:00
parent 84507f7214
commit 9931b23337
8 changed files with 68 additions and 35 deletions
@@ -131,7 +131,9 @@ export default class DetailFramework extends Component<
</View>
) : (
<View style={{ padding: 10 }}>
<NoteList noteList={[this.state.notes[-1]]} />
<NoteList
noteList={[this.state.notes[this.state.notes.length - 1]]}
/>
</View>
)
) : (