wui-components-v2 1.2.36 → 1.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -41,6 +41,10 @@ const props = withDefaults(
|
|
|
41
41
|
* 不传时走组件内置的「编辑」按钮逻辑。
|
|
42
42
|
*/
|
|
43
43
|
editButtonConfig?: EditButtonConfig
|
|
44
|
+
/**
|
|
45
|
+
* 是否显示搜索区域,默认显示。
|
|
46
|
+
*/
|
|
47
|
+
showSearch?: boolean
|
|
44
48
|
/**
|
|
45
49
|
* 是否显示详情弹窗(detailPopup)。默认 true。
|
|
46
50
|
* 为 true 时:字段配置了 detail 按钮时显示可点击的 detailPopup 弹窗
|
|
@@ -55,6 +59,8 @@ const props = withDefaults(
|
|
|
55
59
|
showTopButtons: true,
|
|
56
60
|
// 标题旁标签默认不展示
|
|
57
61
|
showLabel: false,
|
|
62
|
+
// 搜索区域默认显示
|
|
63
|
+
showSearch: true,
|
|
58
64
|
// 详情弹窗默认显示
|
|
59
65
|
showDetailPopup: true,
|
|
60
66
|
// 数据源 ID 默认为空
|
|
@@ -234,6 +240,7 @@ function tabSearchClick(data: any) {
|
|
|
234
240
|
<template #top>
|
|
235
241
|
<slot name="top" />
|
|
236
242
|
<Search
|
|
243
|
+
v-if="showSearch"
|
|
237
244
|
:main-code="mainCode"
|
|
238
245
|
:enum-column="enumColumn"
|
|
239
246
|
:criteria="config.criteria"
|