vsyswin-ui 0.2.72 → 0.2.73
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.
- package/lib/vsyswin-ui.common.js +61 -53
- package/lib/vsyswin-ui.common.js.map +1 -1
- package/lib/vsyswin-ui.umd.js +61 -53
- package/lib/vsyswin-ui.umd.js.map +1 -1
- package/lib/vsyswin-ui.umd.min.js +8 -8
- package/lib/vsyswin-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/search-bar/src/search-bar.scss +4 -0
- package/packages/search-bar/src/search-bar.vue +7 -1
package/package.json
CHANGED
|
@@ -226,6 +226,9 @@
|
|
|
226
226
|
<el-option v-for="opt in item.options" :key="opt.id" :label="opt.label" :value="opt.value"></el-option>
|
|
227
227
|
</el-select>
|
|
228
228
|
</template>
|
|
229
|
+
<template v-else-if="item.type === 'slot'">
|
|
230
|
+
<slot :name="item.slot" :item="item">内容为空</slot>
|
|
231
|
+
</template>
|
|
229
232
|
</li>
|
|
230
233
|
</ul>
|
|
231
234
|
</div>
|
|
@@ -457,6 +460,10 @@ export default {
|
|
|
457
460
|
// 自定义条件标签的显示
|
|
458
461
|
type: Boolean,
|
|
459
462
|
default: false
|
|
463
|
+
},
|
|
464
|
+
maxConditionLength: {
|
|
465
|
+
type: Number,
|
|
466
|
+
default: 4
|
|
460
467
|
}
|
|
461
468
|
},
|
|
462
469
|
data() {
|
|
@@ -464,7 +471,6 @@ export default {
|
|
|
464
471
|
keyword: '',
|
|
465
472
|
currentSearchList: [],
|
|
466
473
|
shrinkFilterList: false,
|
|
467
|
-
maxConditionLength: 4,
|
|
468
474
|
conditionList: [],
|
|
469
475
|
conditionValue: '',
|
|
470
476
|
currentData: {},
|