锚点定位 锚点导航 iView3.x Anchor(锚点)组件

  首先在main.js中引入iview 3.x 我使用部分引用组件的方法因此要单独引入Anchor组件html import {Anchor} from 'iview' Vue.component('Anchor', Anchor) // 这两句就能够在页面中使用组件了 接着在要使用锚点的页面中引入组件iview 注意:在页面中这里引用的是AnchorLink 缘由是在页面中Anchor 被
相关文章
相关标签/搜索