Compare commits
2 Commits
ecb5ddf386
...
96ca5d3002
Author | SHA1 | Date |
---|---|---|
古大羊 | 96ca5d3002 | |
古大羊 | 255c5e0a5a |
|
@ -45,6 +45,8 @@ import { useI18n } from "vue-i18n";
|
|||
import { useRoute } from "vue-router";
|
||||
import FileListing from "@/views/files/FileListing.vue";
|
||||
import { StatusError } from "@/api/utils";
|
||||
import { name } from "../utils/constants";
|
||||
|
||||
const Editor = defineAsyncComponent(() => import("@/views/files/Editor.vue"));
|
||||
const Preview = defineAsyncComponent(() => import("@/views/files/Preview.vue"));
|
||||
|
||||
|
@ -148,7 +150,8 @@ const fetchData = async () => {
|
|||
}
|
||||
|
||||
fileStore.updateRequest(res);
|
||||
document.title = `${res.name} - ${t("files.files")} - File Browser`;
|
||||
document.title = `${res.name} - ${t("files.files")} - ${name}`;
|
||||
|
||||
} catch (err) {
|
||||
if (err instanceof Error) {
|
||||
error.value = err;
|
||||
|
|
Loading…
Reference in New Issue