webapp: declare emitted event in FormFooter component
fixes an annoying warning (visible in the browser console): [Vue warn]: Extraneous non-emits event listeners (reload) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.
This commit is contained in:
parent
74e3947cb2
commit
d088021902
@ -7,3 +7,9 @@
|
|||||||
<button type="submit" class="btn btn-primary">{{ $t('base.Save') }}</button>
|
<button type="submit" class="btn btn-primary">{{ $t('base.Save') }}</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
emits: ['reload'],
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user