The component handles the affiliate registration form, displaying the form layout and managing the success behavior by redirecting 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-affiliate-register form="formName" @success="ms.goTo('/affiliate/login')">
<div v-if="!loading">
<w-form-layout :form="form"></w-form-layout>
</div>
</ms-form-affiliate-register>