You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
CherrysChang 5397512c25 实训案例新增界面 量化指标部分 5 years ago
build init 5 years ago
config init 5 years ago
src 实训案例新增界面 量化指标部分 5 years ago
.babelrc init 5 years ago
.gitignore init 5 years ago
index.html 修改项目名为智信链 5 years ago
package-lock.json init 5 years ago
package.json init 5 years ago
readme.md init 5 years ago

readme.md

npm install 安装依赖 npm run dev 运行项目

ui框架参考:element http://element-cn.eleme.io/#/zh-CN

开发环境

  1. 路由的添加
    1. 路由表(all):route-list (path:'src/common/js/route-list.js' )
    2. 配置路由表 Utils (path:'src/common/js/utils.js' ) a. getRoutes():是定义父级路由,即目录,一般不用动 b. _filterRoutes():子父级路由的配对 c. _addDetail():子路由带出的页面(例如详情,审核等) --默认不调用--
    3. 模拟用户权限:testR(path:'src/common/js/testR.js')

正式环境 build (未完成配置)

  1. 配置请求地址
    1. src/config/prod.env.js 修改BASEAPI