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