RuoYi
2021-11-24 337d1bab024fbb004c10ffca5b871138c3db8298
优化前端代码
12 files modified
11 ■■■■ changed files
ruoyi-ui/package.json 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/components/Breadcrumb/index.vue patch | view | raw | blame | history
ruoyi-ui/src/components/RuoYi/Doc/index.vue patch | view | raw | blame | history
ruoyi-ui/src/components/RuoYi/Git/index.vue patch | view | raw | blame | history
ruoyi-ui/src/components/SizeSelect/index.vue 3 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/layout/components/Sidebar/Logo.vue patch | view | raw | blame | history
ruoyi-ui/src/layout/index.vue 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/main.js patch | view | raw | blame | history
ruoyi-ui/src/router/index.js patch | view | raw | blame | history
ruoyi-ui/src/store/modules/permission.js 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/store/modules/settings.js patch | view | raw | blame | history
ruoyi-ui/src/utils/dict/index.js 2 ●●● patch | view | raw | blame | history
ruoyi-ui/package.json
@@ -56,7 +56,7 @@
    "vue-count-to": "1.0.13",
    "vue-cropper": "0.5.5",
    "vue-router": "3.4.9",
    "vue-meta": "^2.4.0",
    "vue-meta": "2.4.0",
    "vuedraggable": "2.24.3",
    "vuex": "3.6.0"
  },
ruoyi-ui/src/components/Breadcrumb/index.vue
ruoyi-ui/src/components/RuoYi/Doc/index.vue
ruoyi-ui/src/components/RuoYi/Git/index.vue
ruoyi-ui/src/components/SizeSelect/index.vue
@@ -5,8 +5,7 @@
    </div>
    <el-dropdown-menu slot="dropdown">
      <el-dropdown-item v-for="item of sizeOptions" :key="item.value" :disabled="size===item.value" :command="item.value">
        {{
          item.label }}
        {{ item.label }}
      </el-dropdown-item>
    </el-dropdown-menu>
  </el-dropdown>
ruoyi-ui/src/layout/components/Sidebar/Logo.vue
ruoyi-ui/src/layout/index.vue
@@ -98,7 +98,7 @@
  }
  .hideSidebar .fixed-header {
    width: calc(100% - 54px)
    width: calc(100% - 54px);
  }
  .mobile .fixed-header {
ruoyi-ui/src/main.js
ruoyi-ui/src/router/index.js
ruoyi-ui/src/store/modules/permission.js
@@ -1,7 +1,7 @@
import { constantRoutes } from '@/router'
import { getRouters } from '@/api/menu'
import Layout from '@/layout/index'
import ParentView from '@/components/ParentView';
import ParentView from '@/components/ParentView'
import InnerLink from '@/layout/components/InnerLink'
const permission = {
ruoyi-ui/src/store/modules/settings.js
ruoyi-ui/src/utils/dict/index.js
@@ -5,7 +5,7 @@
  mergeOptions(options)
  Vue.mixin({
    data() {
      if (this.$options.dicts === undefined || this.$options.dicts === null) {
      if (this.$options === undefined || this.$options.dicts === undefined || this.$options.dicts === null) {
        return {}
      }
      const dict = new Dict()