Login 登录页
登录组件,用于客户端等登录操作。
页面展示

示例代码
<template>
<NwClientLogin
is-sso
@success="onSuccess"
/>
</template>
<script lang="ts" setup>
import { NwClientLogin } from '@platform-lib/base'
const onSuccess = () => {
window.location.href = '/web-client/html/layout.html'
}
</script>
代码说明
is-sso------是否开启单点登录
NwClientLogin props 属性
参数 | 说明 | 类型 | 默认值 | 必填 |
|---|---|---|---|---|
isSso | 是否单点登录 | Boolean | false | - |
title | 标题信息 | string | 用户端登录 | - |
descr | 描述信息 | string | "" | - |
initial | 字段信息 | object | () => ({username: "", password: ""}) | - |
NwClientLogin Events 事件
事件 | 说明 | 返回值 |
|---|---|---|
@success | - | () => {} |
22 十月 2024