mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 19:06:23 +08:00
09c6a3c240
- Updates old components to newer format, removes legacy component support. - Makes component registration easier and less duplicated. - Adds base component class to extend for better editor support. - Aligns global window exposure usage and aligns with other service names.
11 lines
166 B
JavaScript
11 lines
166 B
JavaScript
import {Component} from "./component";
|
|
|
|
export class AutoSubmit extends Component {
|
|
|
|
setup() {
|
|
this.form = this.$el;
|
|
|
|
this.form.submit();
|
|
}
|
|
|
|
} |