2023-04-19 05:20:02 +08:00
|
|
|
import {Component} from './component';
|
2022-11-12 23:10:14 +08:00
|
|
|
|
2022-11-15 07:19:02 +08:00
|
|
|
export class AutoSubmit extends Component {
|
2022-11-12 23:10:14 +08:00
|
|
|
|
|
|
|
setup() {
|
|
|
|
this.form = this.$el;
|
|
|
|
|
|
|
|
this.form.submit();
|
|
|
|
}
|
|
|
|
|
2023-04-19 05:20:02 +08:00
|
|
|
}
|