feat: new interface button parameters, control function display

This commit is contained in:
vben
2024-06-02 21:21:34 +08:00
parent f95cc80895
commit c5eb0841a5
12 changed files with 135 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
import type { UserApiType } from '@/apis/types';
import type { UserInfo } from '@vben/types';
import { request } from '@/forward/request';
import { request } from '@/forward';
/**
* 登录

View File

@@ -0,0 +1 @@
export * from './request';

View File

@@ -67,5 +67,10 @@ const loginLoading = computed(() => {
</script>
<template>
<AuthenticationLogin :loading="loginLoading" @submit="handleLogin" />
<AuthenticationLogin
username-placeholder="vben"
password-placeholder="123456"
:loading="loginLoading"
@submit="handleLogin"
/>
</template>