response.data.message ||

dev_haigong
hjm 6 years ago
parent 2e37871c14
commit 63d57d11bb

@ -127,7 +127,7 @@ class UpdateDrawer extends Component {
const { path, status } = response.data;
if (status === -1) {
showSnackbar('更新失败,服务端错误')
showSnackbar(response.data.message || '更新失败,服务端错误')
} else if (status === 1) {
if (path) {
updateChallengePath(path);

Loading…
Cancel
Save