双重预防前端
 
 
 
 
 
Go to file
zhushengzhe dbdc809a99 feat:流程重构 2023-09-14 15:56:29 +08:00
public feat:新增积分管理 2023-07-24 14:04:59 +08:00
src feat:流程重构 2023-09-14 15:56:29 +08:00
.env.development fixed:修复安全检查计划的bug 2023-09-07 13:51:46 +08:00
.env.production feat:安全检查分析区域过滤,奖惩记录人去重过滤 2023-07-27 10:18:02 +08:00
.env.test fetch:工作危害分析功能 2023-06-20 09:14:29 +08:00
.gitignore feat:新增双重预防项目 2023-06-07 11:49:19 +08:00
README.md feat:地图逻辑添加 2023-06-07 16:20:24 +08:00
babel.config.js feat:新增双重预防项目 2023-06-07 11:49:19 +08:00
package.json feat:升级hbt-common@0.0.8 2023-09-05 18:16:28 +08:00
tsconfig.json feat:新增双重预防项目 2023-06-07 11:49:19 +08:00
vue.config.js fixed:修复安全检查计划的bug 2023-09-07 13:51:46 +08:00

README.md

hbt-template-ui

环境

  1. 下载并安装nodeJS环境
  2. 安装nrm, 使用nrm将npm仓库配置为公司仓库 3.1 使用npm install -g nrm 全局安装 3.2 使用nrm add hbt-npm http://81.70.119.104:8081/repository/npm-public-hbt/ 增加公司镜像地址 3.3 使用nrm use hbt-npm 切换到公司镜像 3.4 使用nrm ls 查看全部仓库源 *为当前使用源

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

本框架采用ts与法 具体依赖vue-property-decorator

see vue-property-decorator用法详解 https://blog.csdn.net/weixin_44116302/article/details/111225763#PropSync_141

采用模块联邦

远程引用需要先在global.d.ts中注册
例:如需使用远程地图
1.在global.d.ts中注册  declare module 'common/map';
2.在页面中引用
@Component({
  components:{MapComponent:()=>import("common/map") }
})
3.在html中应用 <MapComponent :id="'testID'" @onMapLoaded="getMap($event)"></MapComponent>