用计算属性,设置get 使radio可以在mounted时获取到employeeType的值
设置set 使计算属性可以修改
在其他组件内,可直接使用this.$store
this.$store.commit调用mutations中的方法
this.$store.dispatch调用actions中的方法
用计算属性,设置get 使radio可以在mounted时获取到employeeType的值
设置set 使计算属性可以修改
在其他组件内,可直接使用this.$store
this.$store.commit调用mutations中的方法
this.$store.dispatch调用actions中的方法