docs(IndexBar): use composition api
This commit is contained in:
@@ -51,7 +51,7 @@ app.use(IndexAnchor);
|
||||
|
||||
```js
|
||||
export default {
|
||||
data() {
|
||||
setup() {
|
||||
return {
|
||||
indexList: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user