The component handles the seller registration form, displaying the form layout and managing the success behavior by redirecting users to the login page upon successful registration.
@success | An event handler that triggers when the form submission is successful, and redirect the user to the seller login page. |
---|
<ms-form-seller-register form="formName" @success="ms.goTo('/seller/login')">
<div v-if="!loading">
<w-form-layout :form="form"></w-form-layout>
</div>
</ms-form-seller-register>