From ec639374cd4a0be62d5a3dc128a586ef02287d58 Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Mon, 18 Sep 2023 16:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A3=85=E5=86=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 +- src/api/login.js | 9 + src/components/ArchivesSelect/single.vue | 253 +++++++++++ src/permission.js | 2 +- src/router/index.js | 5 + src/views/archives/packages/index.vue | 510 +++++++++++++++-------- src/views/info.vue | 110 +++++ 7 files changed, 723 insertions(+), 182 deletions(-) create mode 100644 src/components/ArchivesSelect/single.vue create mode 100644 src/views/info.vue diff --git a/src/App.vue b/src/App.vue index b92ea379..f520b610 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,12 +13,16 @@ export default { components: { ThemePicker }, metaInfo() { return { - title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, - titleTemplate: title => { - return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE - } - } - } + title: + this.$store.state.settings.dynamicTitle && + this.$store.state.settings.title, + titleTemplate: (title) => { + return title + ? `${title} - ${process.env.VUE_APP_TITLE}` + : process.env.VUE_APP_TITLE; + }, + }; + }, }; diff --git a/src/views/info.vue b/src/views/info.vue new file mode 100644 index 00000000..ad5bb57f --- /dev/null +++ b/src/views/info.vue @@ -0,0 +1,110 @@ + + + +