# [vuex] unknown mutation type: XXX

By [BigGangCrypto](https://paragraph.com/@biggangcrypto) · 2022-05-22

---

在向mutations提交时，一直报 \[vuex\] unknown mutation type: XXX，后来通过打印this对象，发现store的注册名写错了，将其改为sys-common

![](https://storage.googleapis.com/papyrus_images/47718f43b4bc4a9ecaa1b4df25e23fbeda13f15fdeab9eab6eb83da717c2b67d.png)

![](https://storage.googleapis.com/papyrus_images/a2dda573940719a86914a120a74b019e6cee719640b0a028977120bf146772b6.png)

![](https://storage.googleapis.com/papyrus_images/e9939e8dd19b673cae68922c2ff43a74d6d6b2d8ccc33c98854b9cb456f02101.png)

---

*Originally published on [BigGangCrypto](https://paragraph.com/@biggangcrypto/vuex-unknown-mutation-type-xxx)*
