mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fix undefined
This commit is contained in:
1 parent
1e5f55c1d6
commit
5081e387d0
3 files changed
+19
-4
No files matched your search
@@ -290,7 +290,11 @@ export default {
|
||||
if (resp.ok) {
|
||||
resp.json().then((data) => {
|
||||
this.$emit('success', data)
|
||||
this.$refs.input.value = ''
|
||||
|
||||
if (this.$refs.input) {
|
||||
this.$refs.input.value = ''
|
||||
}
|
||||
|
||||
this.isLoading = false
|
||||
})
|
||||
} else if (resp.status === 422) {
|
||||
|
||||
Reference in new issue
Block a user