|
|
|
@ -351,6 +351,13 @@ export default {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
default: true
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
onUpload: {
|
|
|
|
|
|
|
|
type: Function,
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
default () {
|
|
|
|
|
|
|
|
return () => {}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
withStickySubmitters: {
|
|
|
|
withStickySubmitters: {
|
|
|
|
type: Boolean,
|
|
|
|
type: Boolean,
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
@ -732,6 +739,10 @@ export default {
|
|
|
|
this.scrollIntoDocument(schema[0])
|
|
|
|
this.scrollIntoDocument(schema[0])
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.onUpload) {
|
|
|
|
|
|
|
|
this.onUpload(this.template)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.save()
|
|
|
|
this.save()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
updateName (value) {
|
|
|
|
updateName (value) {
|
|
|
|
@ -765,6 +776,10 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.onUpload) {
|
|
|
|
|
|
|
|
this.onUpload(this.template)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.save()
|
|
|
|
this.save()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
moveDocument (item, direction) {
|
|
|
|
moveDocument (item, direction) {
|
|
|
|
|