add entry for ticket detail in current ticket card

This commit is contained in:
Dawn1Ocean
2024-03-14 23:55:51 +08:00
parent 60f10eaa8f
commit fc3ef61e5d
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -2,6 +2,7 @@ import { Component, ReactNode } from 'react';
import NoteCard from '@/components/NoteCard/NoteCard';
import { TicketNote } from '@/pages/TicketDetail/TicketNote';
import { View } from '@tarojs/components';
import { AtDivider } from 'taro-ui';
interface NoteListProps {
noteList: Array<TicketNote>;
@@ -14,6 +15,7 @@ export default class NoteList extends Component<NoteListProps, {}> {
render(): ReactNode {
return (
<View>
<AtDivider />
{this.props.noteList.map((note, idx) => (
<View key={idx}>
<NoteCard note={note} />