Skip to content

Commit d4e7bdf

Browse files
committed
fix document
1 parent 8f3239f commit d4e7bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/api/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Example:
8585
```js
8686
const wrapper = shallow(Component, {
8787
scopedSlots: {
88-
bar: '<p slot="item" slot-scope="props">{{props.index}},{{props.text}}</p>'
88+
bar: '<p slot-scope="props">{{props.index}},{{props.text}}</p>'
8989
}
9090
})
9191
expect(wrapper.html()).toBe('<div><p>0,text1</p><p>1,text2</p><p>2,text3</p></div>')

0 commit comments

Comments
 (0)