@netang/quasar 0.1.15 → 0.1.17
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/_docs/docs/utils/table.md +1 -0
- package/components/field-table/index.vue +2 -2
- package/components/private/edit-power-data/index.vue +846 -816
- package/components/private/table-visible-columns-button/index.vue +109 -109
- package/components/table/index.vue +13 -13
- package/package.json +1 -1
- package/utils/$table.js +370 -203
- package/utils/$tree.js +712 -713
|
@@ -172,6 +172,7 @@ const $table = $n.$table.create({
|
|
|
172
172
|
| tableRowClick | 表格单击表格行 | `Function` | @row-click="tableRowClick" |
|
|
173
173
|
| tableRowDblclick | 表格双击表格行 | `Function` | @row-dblclick="currentTableRowDblclick" |
|
|
174
174
|
| setTableSearchOptions | 设置表格搜索参数 | `Function` | - |
|
|
175
|
+
| reCreate | 重新创建表格 | `Function` | - |
|
|
175
176
|
|
|
176
177
|
|
|
177
178
|
## $table.config
|
|
@@ -852,10 +852,10 @@ export default {
|
|
|
852
852
|
const columns = []
|
|
853
853
|
|
|
854
854
|
// 如果有原始表格列数据
|
|
855
|
-
if ($n_isValidArray($table.tableColumns)) {
|
|
855
|
+
if ($n_isValidArray($table.tableColumns.value)) {
|
|
856
856
|
|
|
857
857
|
// 克隆原始表格列数据
|
|
858
|
-
const rawTableColumns = $n_cloneDeep($table.tableColumns)
|
|
858
|
+
const rawTableColumns = $n_cloneDeep($table.tableColumns.value)
|
|
859
859
|
|
|
860
860
|
// 快捷表格显示的属性名称数组
|
|
861
861
|
$n_forEach(currentShowKeys.value, function (key) {
|