update Anchor

This commit is contained in:
梁灏 2018-06-29 15:42:24 +08:00
parent 2b98434e90
commit c69f8ff5fb
2 changed files with 9 additions and 10 deletions

View file

@ -15,6 +15,11 @@ import { scrollTop, findComponentDownward, findComponentsDownward, sharpMatcherR
import { on, off } from '../../utils/dom';
export default {
name: 'Anchor',
provide () {
return {
anchorCom: this
};
},
data () {
return {
prefix: 'ivu-anchor',