add entry for ticket detail in current ticket card
This commit is contained in:
@@ -166,8 +166,13 @@ export default class RepairPage extends Component<{}, RepairPageState> {
|
||||
const ticketsRenderer = this.state.currentTicketsIdName.map((pair, idx) => (
|
||||
<AtCard
|
||||
key={idx}
|
||||
title={pair.get(pair.keys()[0])}
|
||||
title={pair.get(pair.keys()[0])} //pair.keys()[0] == id
|
||||
extra={pt.get().repairPage.currentTicket.extra}
|
||||
onClick={() => {
|
||||
Taro.navigateTo({
|
||||
url: '/pages/TicketDetail/TicketDetail?id=' + pair.keys()[0],
|
||||
});
|
||||
}}
|
||||
note={
|
||||
pt.get().tips.tipsText[
|
||||
randomInt(0, pt.get().tips.tipsText.length - 1)
|
||||
|
||||
Reference in New Issue
Block a user