I am processing in vuejs.
Template:
<b-form @submit.prevent="uploadFile">
  <b-form-file
     v-model="file"
     placeholder="Choose image..."
  />
</b-form>
data() {
  return: {
    file:null
  }
},
methods: {
    uploadFile() {
    console.log(this.file) // result :{$path: "", name: "test2-1591953691.jpeg", lastModified: 1626842100154}
      axios
        .post("/api/upload/store", {
            file: this.file,
        })
        .then((res) => {
          console.log(res.data);
        })
        .catch((error) => {
          console.log(error);
        });
    },
  },
Why is the path null, is there any way to get the path. Please give me ideas, thanks.