You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
接口验签配置 依赖包升级 |
3 years ago | |
---|---|---|
public | 4 years ago | |
src | 3 years ago | |
.babelrc | 4 years ago | |
.editorconfig | 4 years ago | |
.eslintignore | 4 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
.postcssrc.js | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
cypress.json | 4 years ago | |
package.json | 3 years ago | |
vue.config.js.example | 4 years ago |
README.md
运营后台管理UI
按钮权限控制
全局函数 hasAuthority('功能编码,功能编码2') 多个用,号隔开
<Button v-show="hasAuthority('systemUserCreate')" type="primary">
初始化安装
// install dependencies
npm install
修改配置(/src/config/index.js)
/**
* 发布目录
*/
publicPath: {
dev: '/', // 本地环境发布目录
pro: '/admin' // 生产环境发布目录
},
/**
* api请求基础路径
*/
apiUrl: {
dev: 'http://39.106.187.125/api', // 本地环境接口请求地址
pro: 'http://39.106.187.125/api' // 生产环境接口请求地址
},
本地运行
npm run dev
打包部署
npm run build
功能预览
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |