Skip to content

Commit

Permalink
Update water.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
iiop123 committed Nov 12, 2022
1 parent 9108f4b commit 2bbca33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/src/water.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default{
let reader = new FileReader();
reader.onload=(e)=> {
form.append('img',inp_file[i])
this.status=true
return this.file_info.push({
name:inp_file[i].name,
src:e.target.result
Expand All @@ -48,7 +49,6 @@ export default{
}
setTimeout(()=>{
this.status=true
fetch('/api',{
method:'POST',
body:form
Expand Down Expand Up @@ -160,4 +160,4 @@ export default{
left: 50%;
transform: translate(-50%,-50%);
}
</style>
</style>

0 comments on commit 2bbca33

Please sign in to comment.