Whether the value of vue.js dispatch () can be passed to the corresponding method of action.

for example:
this.$store.dispatch ("goods/addgoods", product);
where product is a commodity object, can it be passed to the method in action, and how does the method in action accept the projduct variable?
and call the commit method?

Apr.05,2021

Yes,
state.js test: 0
type.js export const TEST = 'TEST'
mutations.js import * as types from type.js TEST: (state, payload) = > {state.test = payload}
actions.js import * as types from type.js TEST: ({commit}, payload) = > {commit (types.TEST, payload)}, is that right?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4479d-4306a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4479d-4306a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?