Merge pull request '修复bug' (#16) from change_join into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_app/pulls/16
This commit is contained in:
commit
221ea0b6c1
|
@ -204,6 +204,7 @@ export default function My({ navigation }) {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const _data = await _response.json();
|
const _data = await _response.json();
|
||||||
|
console.log(_data);
|
||||||
if (_data.ret === -1) {
|
if (_data.ret === -1) {
|
||||||
Toast.show({
|
Toast.show({
|
||||||
type: "error",
|
type: "error",
|
||||||
|
@ -216,8 +217,11 @@ export default function My({ navigation }) {
|
||||||
_data.data.basic_status === 0 ||
|
_data.data.basic_status === 0 ||
|
||||||
_data.data.basic_status === 1 ||
|
_data.data.basic_status === 1 ||
|
||||||
_data.data.basic_status === 3
|
_data.data.basic_status === 3
|
||||||
)
|
) {
|
||||||
setIsInJoinProgress(true);
|
setIsInJoinProgress(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
setIsInJoinProgress(false);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue