添加动态数据下拉框,可以通过下拉框筛选获取后台数据;

未实现滚动分页;
This commit is contained in:
JiangCYkk
2025-03-28 16:33:42 +08:00
parent 3d704220f3
commit c5d636d697
3 changed files with 114 additions and 12 deletions

View File

@@ -43,6 +43,8 @@ import ImagePreview from "@/components/ImagePreview"
import TreeSelect from '@/components/TreeSelect'
// 字典标签组件
import DictTag from '@/components/DictTag'
// 动态数据下拉选择框组件
import SelectDataTag from '@/components/SelectDataTag'
const app = createApp(App)
@@ -57,6 +59,7 @@ app.config.globalProperties.selectDictLabel = selectDictLabel
app.config.globalProperties.selectDictLabels = selectDictLabels
// 全局组件挂载
app.component('SelectDataTag', SelectDataTag)
app.component('DictTag', DictTag)
app.component('Pagination', Pagination)
app.component('TreeSelect', TreeSelect)