fix: 修复动态表单保存校验失败等问题,优化演示页源码入口与注释

This commit is contained in:
Ray.Hao committed 2026-09-08 16:34:32 +08:00
1 parent 92a7046634
commit 443c34ed20
22 files changed
+186 -274

No files matched your search

+10 -6
View File
@@ -1,14 +1,18 @@
<!-- 字典组件示例 -->
<template>
<div class="page-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/dictionary.vue"
type="primary"
target="_blank"
<el-button
class="mb-[20px]"
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/dictionary.vue"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<el-form>
<el-form-item label="性别">
<DictSelect v-model="stringValue" code="gender" />
+10 -6
View File
@@ -1,14 +1,18 @@
<!-- 图标选择器示例 -->
<template>
<div class="page-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/icon-select.vue"
type="primary"
target="_blank"
<el-button
class="mb-10"
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/icon-select.vue"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<IconSelect v-model="iconName" />
</div>
</template>
@@ -1,14 +1,18 @@
<!-- 列表选择器示例 -->
<template>
<div class="page-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/table-select/index.vue"
type="primary"
target="_blank"
<el-button
class="mb-10"
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/table-select/index.vue"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<table-select :text="text" :select-config="selectConfig" @confirm-click="handleConfirm">
<template #status="scope">
<el-tag :type="scope.row[scope.prop as string] === 1 ? 'success' : 'info'">
+10 -6
View File
@@ -1,14 +1,18 @@
<!-- wangEditor富文本编辑器示例 -->
<template>
<div class="page-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/wang-editor.vue"
type="primary"
target="_blank"
<el-button
class="mb-[20px]"
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/component/wang-editor.vue"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<WangEditor v-model="value" height="400px" />
<div style="margin-top: 10px">
+11 -7
View File
@@ -1,14 +1,18 @@
<!-- 文件上传组件示例 -->
<!-- 自适应表格操作栏组件示例 -->
<template>
<div class="page-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/table/auto-operation-column.vue"
type="primary"
target="_blank"
<el-button
class="mb-10"
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/table/auto-operation-column.vue"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<div>
<h3>自适应表格操作栏</h3>
+8 -4
View File
@@ -1,13 +1,17 @@
<template>
<div class="page-container h-full flex flex-1 flex-col">
<div class="mb-10">
<el-link
<el-button
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/table/curd-single.vue"
type="primary"
target="_blank"
link
type="info"
size="small"
>
整合版示例源码 请点击 >>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
</div>
<!-- 搜索 -->
+8 -4
View File
@@ -1,13 +1,17 @@
<template>
<div class="page-container h-full flex flex-1 flex-col">
<div class="flex-x-between mb-10">
<el-link
<el-button
tag="a"
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/table/curd/index.vue"
type="primary"
target="_blank"
link
type="info"
size="small"
>
示例源码 请点击>>>
</el-link>
<el-icon class="mr-1"><Link /></el-icon>
示例源码
</el-button>
<el-button type="primary" plain round size="small" @click="isA = !isA">切换示例</el-button>
</div>