diff --git a/frontend/package.json b/frontend/package.json index 64d80294..b08c2689 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -26,6 +26,7 @@ "echarts": "^4.1.0", "element-ui": "2.13.0", "font-awesome": "^4.7.0", + "github-markdown-css": "^3.0.1", "js-cookie": "2.2.0", "normalize.css": "7.0.0", "nprogress": "0.2.0", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index bf60dc0b..27fe283a 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -34,13 +34,7 @@ export default { } }, methods: {}, - async created () { - await this.$store.dispatch('setting/getSetting') - }, async mounted () { - const res = await this.$request.get('/version') - this.version = res.data.data - sessionStorage.setItem('v', this.version) window.setUseStats = (value) => { document.querySelector('.el-message__closeBtn').click() if (value === 1) { diff --git a/frontend/src/components/File/FileList.vue b/frontend/src/components/File/FileList.vue index 4bf76395..620481ca 100644 --- a/frontend/src/components/File/FileList.vue +++ b/frontend/src/components/File/FileList.vue @@ -30,7 +30,9 @@ -
+
-
- - - - {{$t('Create')}} -
-
    -
  • - - {{$t('Directory')}} -
  • -
  • +
      +
    • - {{$t('File')}} + {{$t('Create File')}} +
    • +
    • + + {{$t('Create Directory')}} +
    • +
    +
      +
    • + + {{$t('Remove')}}