Skip to content

Commit 741316f

Browse files
zhangmin173minjs.cn
and
minjs.cn
authored
fix(docs): inject key is the provide key (#573)
Co-authored-by: minjs.cn <[email protected]>
1 parent 26964a5 commit 741316f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/composition-api-provide-inject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
<!-- src/components/MyMarker.vue -->
3737
<script>
3838
export default {
39-
inject: ['location', 'longitude', 'latitude']
39+
inject: ['location', 'geolocation']
4040
}
4141
</script>
4242
```

0 commit comments

Comments
 (0)