File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 85
85
md =" 8"
86
86
lg =" 8"
87
87
>
88
- <ValidationObserver ref =" form" v-slot =" { handleSubmit, reset }" >
89
- <form
90
- @submit.prevent =" handleSubmit(submit)"
91
- @reset.prevent =" reset"
92
- >
88
+ <ValidationObserver ref =" form" >
89
+ <form @submit.prevent =" submit" >
93
90
<ValidationProvider
94
91
v-slot =" { errors }"
95
92
name =" Title"
@@ -324,13 +321,15 @@ export default {
324
321
})
325
322
326
323
if (! video) return
327
- this .$nextTick (() => {
328
- this .$refs .form .reset ()
329
- })
324
+ // this.$nextTick(() => {
325
+ // this.$refs.form.reset()
326
+ // })
327
+ this .formData .visibilty = ' '
330
328
this .imgDataUrl = ' '
331
329
this .selectedFile = []
332
330
this .closeModal ()
333
- this .$router .push (' /studio/videos' )
331
+
332
+ this .$router .push (` /studio/videos?${ new Date ()} ` )
334
333
// console.log('submittied')
335
334
},
336
335
async getCategories () {
You can’t perform that action at this time.
0 commit comments