xianniu-ui 0.3.28 → 0.3.29
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/xianniu-ui.common.js +33 -29
- package/lib/xianniu-ui.umd.js +33 -29
- package/lib/xianniu-ui.umd.min.js +2 -2
- package/package.json +1 -1
- package/packages/search/main.vue +5 -1
- package/packages/table/main.vue +1 -1
package/package.json
CHANGED
package/packages/search/main.vue
CHANGED
|
@@ -139,6 +139,10 @@ export default {
|
|
|
139
139
|
type: Boolean,
|
|
140
140
|
default: true,
|
|
141
141
|
},
|
|
142
|
+
defaultColl:{
|
|
143
|
+
type: Number,
|
|
144
|
+
default: 3,
|
|
145
|
+
}
|
|
142
146
|
},
|
|
143
147
|
computed: {
|
|
144
148
|
col() {
|
|
@@ -220,7 +224,7 @@ export default {
|
|
|
220
224
|
this.form.value = [];
|
|
221
225
|
for (let i = 0, formData = this.formData; i < formData.length; i++) {
|
|
222
226
|
const item = formData[i];
|
|
223
|
-
item.isShow = i >
|
|
227
|
+
item.isShow = i > this.defaultColl && this.showColl ? false : true;
|
|
224
228
|
this.form.value.push({
|
|
225
229
|
...item,
|
|
226
230
|
key: item.prop,
|