npm install
npm run serve
npm run build
-
通过路由守卫,在每次进入路由之前判断是否符合当前权限的路由表,符合权限的通过,不符合的跳转至指定页面
路由表也是通过后台权限返回的动态路由
-
通过自定义指令来实现:就是通过vuex中存的角色信息来判断显隐(相当于v-show)
-
- 安装插件:vue add @vue/unit-jest
- vue/test-utils
npm install
npm run serve
npm run build
通过路由守卫,在每次进入路由之前判断是否符合当前权限的路由表,符合权限的通过,不符合的跳转至指定页面
路由表也是通过后台权限返回的动态路由
通过自定义指令来实现:就是通过vuex中存的角色信息来判断显隐(相当于v-show)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.