javascript - vuex ...mapActions error reporting
阿神
阿神 2017-06-05 11:10:30
0
2
879


build.js:11790 ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/view/app.vue
Module build failed: SyntaxError: G:/newDome/src/view/app.vue: Unexpected token (20:8)

阿神
阿神

闭关修行中......

reply all(2)
Peter_Zhu

The curly braces are written wrong
It should be
...mapActions(['cz'])

世界只因有你
methods: {
    ...mapActions(['cz'])
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template