feat: file name on page title
parent
7d1e03075d
commit
16a34defc0
|
@ -116,7 +116,7 @@ export default {
|
|||
}
|
||||
|
||||
this.$store.commit("updateRequest", res);
|
||||
document.title = res.name;
|
||||
document.title = `${res.name} - ${this.$route.name}`;
|
||||
} catch (e) {
|
||||
this.error = e;
|
||||
} finally {
|
||||
|
|
|
@ -278,6 +278,7 @@ export default {
|
|||
this.token = file.token || "";
|
||||
|
||||
this.updateRequest(file);
|
||||
document.title = `${file.name} - ${this.$route.name}`;
|
||||
} catch (e) {
|
||||
this.error = e;
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue