参考 form4.md 中的 InfoQuery 组件,使用 shadcn-vue 组件库实现了商业版信息查询表单,保持了与原组件完全一致的字段和接口。
- ✅ 私服账号输入(必填)
- ✅ 验证码输入(必填)和获取验证码功能
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T; | |
| error: null; | |
| }; | |
| type Failure<E> = { | |
| data: null; | |
| error: E; | |
| }; |
| # Project Policy | |
| This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices. | |
| # 1. Introduction | |
| > Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities. | |
| ## 1.1 Actors |
| <template> | |
| <div class="layout-breadcrumb-seting"> | |
| <el-drawer | |
| :title="$t('layout.configTitle')" | |
| v-model="getThemeConfig.isDrawer" | |
| direction="rtl" | |
| destroy-on-close | |
| size="260px" | |
| @close="onDrawerClose" | |
| > |