refactor ticketListItem
This commit is contained in:
@@ -16,6 +16,7 @@ import { submitTicket } from '@/service/submitTicket';
|
||||
import type CustomTabBar from '@/custom-tab-bar';
|
||||
import repairLogo from '@/assets/icons/RepairPage/repair.svg';
|
||||
import DetailFramework from '@/components/DetailFramework/DetailFramework';
|
||||
import { TicketListItem } from '@/components/TicketListItem/TicketListItem';
|
||||
import './repair.scss';
|
||||
|
||||
interface RepairPageState {
|
||||
@@ -28,6 +29,7 @@ interface RepairPageState {
|
||||
isLoading: boolean;
|
||||
isDisable: boolean;
|
||||
checkedList: Array<number>;
|
||||
currentTicket: Array<TicketListItem>;
|
||||
}
|
||||
|
||||
const submitInterval = 5000;
|
||||
@@ -43,6 +45,7 @@ export default class RepairPage extends Component<{}, RepairPageState> {
|
||||
isLoading: false,
|
||||
isDisable: true,
|
||||
checkedList: [0],
|
||||
currentTicket: [],
|
||||
};
|
||||
|
||||
componentDidMount(): void {
|
||||
|
||||
Reference in New Issue
Block a user