@@ -241,6 +241,11 @@ export default {
}
const url = res.url;
+ if (url.endsWith(".txt")) {
+ this.loading = false;
+ window.open(url);
+ return;
+ }
let result = true;
await downloadFileURL(url).catch(() => {
result = false;