action به این صورت تعریف شده
 storePost ({commit, dispatch}, {form,formData}) {
    commit('STORE_POST')
    return new Promise((resolve, reject) => {
      axios.post(Config.apiPath + 'post', form,{  formData })
        .then(
          response => {
            commit('STORE_POST_OK', response.data.post);
            resolve()
          })
        .catch(error => {
          commit('STORE_POST_FAIL')
          reject(error.response.data)
        })
    })
  },
کامپوننت هم به این صورت
let formData = new FormData();
    formData.append('file', this.form.file);
    this.storePost({formData,form})
          .then(() => {
            this.addToastMessage({
              text: 'New Post record was added!',
              type: 'success'
            })
              this.errors = {}
          })
            .catch((data) => {
                this.errors = data.errors || {}
            })
      },
ولی این ارور دریافت میکنم
payload: undefined
دوستان ممنون میشم راهنمایی کنید
به جمع هزاران کاربر اینستاگرامی روکسو بپیوندید.