public-business-component-ui
v0.2.14
Published
公共业务组件库
Downloads
43
Readme
长城网安内部-公共组件库
说明: 公司内部项目的公共组件库。 此项目依附于各项目,不具备独立部署能力。
使用方法
npm install public-business-component-ui
在 vue 使用
<ExperimentLoading></ExperimentLoading>
<GuacamoleView></GuacamoleView>
import {ExperimentLoading,GuacamoleView } from '../packages'
components: {
ExperimentLoading,
GuacamoleView
}
本地调试方法 1
在项目目录下执行
npm install 【此组件的本地地址】
例如:npm install ../public-business-component-h5
本地调试方法 2
在模块项目,根目录执行
npm link
在引用模块的项目,根目录执行
npm link name
组件介绍
GuacamoleView
将 guacamole 组件的使用提出为公共 vue 组件
ExperimentLoading
将实验 loading 组件的使用提出为公共 vue 组件 使用时传入参数,组件根据传入的实验状态和初始时间(实验准备时间),自动计算进度,具体参数看源码 experiment-loading.vue
Desktop
抽离企业版学生端和教师端实验场景可复用部分