0.1.2 • Published 1 year ago
hrhtest v0.1.2
hrhtest
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
组件库项目依赖:
- ant: ant-design-vue 组件库
- vue: vue3.0
组件库引入方式:
- npm i hrhtest
- import hrhtest from 'hrhtest'
- vue.use(hrhtest)
- 组件使用方式:
- hrhCountDown
- props {propTime, rate, IntervalSize}
- propTime- 时间 Number 默认 0
- rate- 缩减时间 Number 默认 1000ms
- IntervalSize- 缩减大小 Number 默认 1
- method @timeend 时间归零时回调函数 -...
- props {propTime, rate, IntervalSize}
- hrhCountDown