指定了命名空間的 才輸入完整模塊
默認不開命名空間的 直接寫mutations裏面的方法名就好 不用加模塊名
//namespace:true
this.$store.dispatch("方法所在文件的名字/方法","提交的數據")
this.$store.dispatch("user/login",data)
//namespace:false 默認
this.$store.dispatch("方法","提交的數據")
this.$store.dispatch("login",data)