diff --git a/README.md b/README.md index 082efe6..40ffb89 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ export default defineComponent({ return {} }, computed: { - ...mapState(['gUsername']) + ...mapState(['gUsername']), ...mapGetters(['username']), // ^ the param of mapGetters is specific },