添加急救

This commit is contained in:
Peng-YM
2020-10-04 16:34:02 +08:00
parent ea7f208882
commit 768b56d7fe
3 changed files with 12 additions and 7 deletions

View File

@@ -137,10 +137,7 @@ export default {
await axios.get(`${this.url}?target=URI`).then(resp => {
const {data} = resp;
if (data instanceof String && data.indexOf("\n") !== -1)
this.uris = data.split("\n");
else
this.uris = [data];
this.uris = data.split("\n");
});
// fix http offset