+import {Component} from "./component";
-class AutoSubmit {
+export class AutoSubmit extends Component {
setup() {
this.form = this.$el;
this.form.submit();
}
-}
-
-export default AutoSubmit;
\ No newline at end of file
+}
\ No newline at end of file