You've already forked agentic-coding-workflow
style(web): lint --fix sweep + disable no-undef for ts/vue (DOM globals)
This commit is contained in:
@@ -1,19 +1,38 @@
|
||||
<template>
|
||||
<div class="min-h-screen flex items-center justify-center p-4">
|
||||
<div class="w-full max-w-sm space-y-4">
|
||||
<h1 class="text-2xl font-semibold">登录</h1>
|
||||
<h1 class="text-2xl font-semibold">
|
||||
登录
|
||||
</h1>
|
||||
<NForm @submit.prevent="onSubmit">
|
||||
<NFormItem label="邮箱">
|
||||
<NInput v-model:value="email" placeholder="admin@local" />
|
||||
<NInput
|
||||
v-model:value="email"
|
||||
placeholder="admin@local"
|
||||
/>
|
||||
</NFormItem>
|
||||
<NFormItem label="密码">
|
||||
<NInput v-model:value="password" type="password" show-password-on="click" />
|
||||
<NInput
|
||||
v-model:value="password"
|
||||
type="password"
|
||||
show-password-on="click"
|
||||
/>
|
||||
</NFormItem>
|
||||
<NButton type="primary" attr-type="submit" :loading="loading" block>
|
||||
<NButton
|
||||
type="primary"
|
||||
attr-type="submit"
|
||||
:loading="loading"
|
||||
block
|
||||
>
|
||||
登录
|
||||
</NButton>
|
||||
</NForm>
|
||||
<p v-if="error" class="text-red-500 text-sm">{{ error }}</p>
|
||||
<p
|
||||
v-if="error"
|
||||
class="text-red-500 text-sm"
|
||||
>
|
||||
{{ error }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user