Browse Source

2021年1月13号

master
ybw1997 4 years ago
parent
commit
4512d0be90
  1. 3
      .gitignore
  2. 25803
      package-lock.json
  3. 2
      package.json
  4. 6
      src/layout/components/Sidebar/index.vue
  5. 2
      src/main.js

3
.gitignore vendored

@ -21,5 +21,4 @@ selenium-debug.log
*.sln
*.local
package-lock.json
yarn.lock

25803
package-lock.json generated

File diff suppressed because it is too large Load Diff

2
package.json

@ -5,7 +5,7 @@
"author": "cereshop",
"license": "Apache 2.0",
"scripts": {
"dev": "vue-cli-service serve",
"dev": "vue-cli-service serve --open",
"build:prod": "vue-cli-service build",
"build:boot": "vue-cli-service build --mode boot",
"build:docker": "vue-cli-service build --mode docker",

6
src/layout/components/Sidebar/index.vue

@ -52,8 +52,8 @@ export default {
return this.$store.state.account.routes
}
},
created(){
console.log(this.$store.state.account.routes,'this.$store.state.account.routesthis.$store.state.account.routesthis.$store.state.account.routes')
}
// created(){
// console.log(this.$store.state.account.routes,'this.$store.state.account.routesthis.$store.state.account.routesthis.$store.state.account.routes')
// }
}
</script>

2
src/main.js

@ -23,7 +23,7 @@ import i18n from './lang' // internationalization
import './icons' // icon
import './utils/error-log' // error log
import request from '@/utils/request'
Vue.use(Element, { size: 'small', zIndex: 3000 });
import * as filters from './filters' // global filters
import { hasPermission, hasNoPermission, hasAnyPermission } from './utils/permissionDirect'

Loading…
Cancel
Save