@netang/quasar 0.1.45 → 0.1.47
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/components/search/index.vue +7 -0
- package/package.json +1 -1
- package/utils/$table.js +1 -1
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
>
|
|
7
7
|
<div class="n-search q-pa-sm q-pt-sm q-gutter-sm">
|
|
8
8
|
|
|
9
|
+
<!-- 内部前置插槽 -->
|
|
10
|
+
<slot name="prepend" />
|
|
11
|
+
|
|
9
12
|
<template
|
|
10
13
|
v-for="(item, itemIndex) in options"
|
|
11
14
|
>
|
|
@@ -133,6 +136,10 @@
|
|
|
133
136
|
</n-search-item>
|
|
134
137
|
</template>
|
|
135
138
|
</template>
|
|
139
|
+
|
|
140
|
+
<!-- 内部后置插槽 -->
|
|
141
|
+
<slot name="append" />
|
|
142
|
+
|
|
136
143
|
</div>
|
|
137
144
|
</q-scroll-area>
|
|
138
145
|
|
package/package.json
CHANGED
package/utils/$table.js
CHANGED
|
@@ -340,7 +340,7 @@ function create(options) {
|
|
|
340
340
|
|
|
341
341
|
// 表格可见列
|
|
342
342
|
const _tableVisibleColumns = o.showVisibleColumns && isCache ?
|
|
343
|
-
$n_cb($n_storage.get('table:visible_columns:' + cacheName), e =>
|
|
343
|
+
$n_cb($n_storage.get('table:visible_columns:' + cacheName), e => Array.isArray(e) ? e : $n_uniq([...o.visibleColumns]))
|
|
344
344
|
: $n_uniq([...o.visibleColumns])
|
|
345
345
|
|
|
346
346
|
// 表格翻页参数
|