锚点组件
import SafeAnchor from 'bee-safe-anchor';
//或者
var SafeAnchor = require('bee-safe-anchor');| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| href | 跳转地址 | string | - |
| onClick | 点击事件 | function | - |
| disabled | 是否禁用 | boolean | false |
| tabIndex | tab切换 | number/string | - |
| componentClass | 组件元素 | string/element | a |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-safe-anchor
$ cd bee-safe-anchor
$ npm install
$ npm run dev