From 966a17123f1a084b63cc976171f775fb1dcf01d3 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 30 Nov 2023 09:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/vm/vue/v3/readme.txt | 1 - ruoyi-ui/src/App.vue | 14 ++--- ruoyi-ui/src/components/ImageUpload/index.vue | 2 +- ruoyi-ui/src/components/TopNav/index.vue | 4 +- ruoyi-ui/src/directive/dialog/dragHeight.js | 62 +++++++++---------- ruoyi-ui/src/directive/dialog/dragWidth.js | 54 ++++++++-------- .../layout/components/Sidebar/SidebarItem.vue | 4 +- ruoyi-ui/src/plugins/tab.js | 2 +- ruoyi-ui/src/utils/permission.js | 12 ++-- ruoyi-ui/src/utils/validate.js | 5 +- 10 files changed, 76 insertions(+), 84 deletions(-) delete mode 100644 ruoyi-generator/src/main/resources/vm/vue/v3/readme.txt diff --git a/ruoyi-generator/src/main/resources/vm/vue/v3/readme.txt b/ruoyi-generator/src/main/resources/vm/vue/v3/readme.txt deleted file mode 100644 index 99239bb5..00000000 --- a/ruoyi-generator/src/main/resources/vm/vue/v3/readme.txt +++ /dev/null @@ -1 +0,0 @@ -如果使用的是RuoYi-Vue3前端,那么需要覆盖一下此目录的模板index.vue.vm、index-tree.vue.vm文件到上级vue目录。 \ No newline at end of file diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index a2c4b872..cc29b466 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -11,14 +11,14 @@ import ThemePicker from "@/components/ThemePicker"; export default { name: "App", 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 - } - } + 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 + } } + } };