2022-11-15 00:19:02 +01:00
|
|
|
import {Component} from "./component";
|
2022-11-12 16:10:14 +01:00
|
|
|
|
2022-11-15 00:19:02 +01:00
|
|
|
export class AutoSubmit extends Component {
|
2022-11-12 16:10:14 +01:00
|
|
|
|
|
|
|
setup() {
|
|
|
|
this.form = this.$el;
|
|
|
|
|
|
|
|
this.form.submit();
|
|
|
|
}
|
|
|
|
|
2022-11-15 00:19:02 +01:00
|
|
|
}
|