Message fix

This commit is contained in:
2023-07-09 09:31:45 +08:00
parent 6fd92600b4
commit 625928e34b
@@ -40,8 +40,7 @@ function Redirect() {
return;
}
// "{"message":"Endpoint not found.","URI":"http:\/\/localhost:9083\/index.php\/en\/wrench\/api\/v1\/authstart"}[]"
const data = JSON.parse(res.data.replace('[]',''));
alert(data.message);
alert(JSON.stringify(res.data));
})
.catch((error) => {
console.log(error);