change prettier format
This commit is contained in:
@@ -12,7 +12,7 @@ export function getMyTicketList(that: MyTicketPage) {
|
||||
token: 'token_test',
|
||||
},
|
||||
})
|
||||
.then(res => {
|
||||
.then((res) => {
|
||||
if (!res.data.success) {
|
||||
that.setState({
|
||||
rs: {
|
||||
@@ -28,7 +28,7 @@ export function getMyTicketList(that: MyTicketPage) {
|
||||
success: true,
|
||||
},
|
||||
fixList: res.data.data.list.map(
|
||||
item =>
|
||||
(item) =>
|
||||
new TicketListItem(
|
||||
item.id,
|
||||
item.device,
|
||||
@@ -39,7 +39,7 @@ export function getMyTicketList(that: MyTicketPage) {
|
||||
),
|
||||
});
|
||||
})
|
||||
.catch(reason => {
|
||||
.catch((reason) => {
|
||||
that.setState({
|
||||
rs: {
|
||||
loading: false,
|
||||
|
||||
Reference in New Issue
Block a user