change prettier format

This commit is contained in:
Dawn1Ocean
2024-03-12 21:55:53 +08:00
parent e11a58dbb5
commit e1c3b464a6
14 changed files with 46 additions and 47 deletions
+2 -2
View File
@@ -46,14 +46,14 @@ export default class MemberPage extends Component {
passwd: this.state.passwd,
},
})
.then(res => {
.then((res) => {
console.log(res.data);
Taro.atMessage({
message: pt.get().button.loginText.success,
type: 'success',
});
})
.catch(err => {
.catch((err) => {
console.log(err);
Taro.atMessage({
message: pt.get().button.loginText.error + err.toString(),
+1 -1
View File
@@ -34,7 +34,7 @@ export default class MyTicketPage extends Component<{}, MyTicketState> {
if (!this.state.rs.success) {
return <View>Failed</View>;
}
const fixListRenderer = this.state.fixList.map(item => item.render());
const fixListRenderer = this.state.fixList.map((item) => item.render());
return (
<View>
<AtList>{fixListRenderer}</AtList>
+2 -2
View File
@@ -39,14 +39,14 @@ export default class ReportPage extends Component {
report: this.state.report,
},
})
.then(res => {
.then((res) => {
console.log(res.data);
Taro.atMessage({
message: pt.get().button.submitText.success,
type: 'success',
});
})
.catch(err => {
.catch((err) => {
console.log(err);
Taro.atMessage({
message: pt.get().button.submitText.error + err.toString(),