1. 基础组件渲染 通过

按钮(各种类型)
默认按钮 Primary Success Warning Danger Info Disabled Plain Round
Tag 标签
默认 成功 信息 警告 危险 可关闭 命中 深色 纯色
徽标 Badge
评论 回复 消息 +1
面包屑 Breadcrumb
首页 验证页 Vue 3 + Element Plus

2. 表单组件 通过

A B C 查询 重置 测试 Message 测试 Notification
表单数据:{{ JSON.stringify(formData) }}

3. 表格组件(关键测试:v-slot 语法) 通过

4. 弹窗 Dialog 通过

打开 Dialog 打开 Drawer

确定要执行此操作吗?

这是抽屉的内容区域。

支持放置任意表单/表格内容。

5. Element Plus 图标组件 通过

{{ icon.name }}

共注册 {{ totalIcons }} 个图标,以上展示前 {{ displayedIcons.length }} 个

6. Tabs 选项卡 + Collapse 折叠 通过

系统名称:Warehouse Management System

版本:Vue 3 + Element Plus

模式:原型验证

此区域可用于高级参数配置。

{{ log.tag }} {{ log.text }}

1. new Vue() 改为 createApp().mount()

2. slot-scope="scope" 改为 #default="scope"

3. slot="xxx" 改为 #xxx

4. 生命周期 beforeDestroybeforeUnmount

1. 图标改用 SVG 组件:<el-icon><Search /></el-icon>

2. Dialog 使用 v-model 代替 :visible.sync

3. 需全局注册 app.use(ElementPlus)

Vue 3: https://unpkg.com/vue@3/dist/vue.global.prod.js

Element Plus: https://unpkg.com/element-plus

Icons: https://unpkg.com/@element-plus/icons-vue

7. 响应式联动 通过

下一步 上一步 已完成!

8. 全局 API 通过

ElMessage.info ElMessage.success ElMessage.warning ElMessage.error ElNotification ElMessageBox.confirm
验证页面 · Vue {{ vueVersion }} + Element Plus {{ epVersion }}