mooho-base-admin-plus 2.10.14 → 2.10.16

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.10.14",
4
+ "version": "2.10.16",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -49,6 +49,14 @@
49
49
  -->
50
50
  <slot name="column" :form="form" :data="data" :column="column" :code="code"></slot>
51
51
  </template>
52
+ <template #tableFilterCommand="scope">
53
+ <!--
54
+ @slot 内嵌表格筛选栏按钮
55
+ @binding {object} tableColumn 表格列对象
56
+ @binding {string} tableCode 表格列代码
57
+ -->
58
+ <slot name="tableFilterCommand" :tableColumn="scope.tableColumn" :tableCode="scope.tableCode"></slot>
59
+ </template>
52
60
  <template #tableColumn="scope">
53
61
  <!--
54
62
  @slot 内嵌表格自定义列
@@ -37,7 +37,7 @@
37
37
  @binding {object} tableColumn 表格列对象
38
38
  @binding {string} tableCode 表格列代码
39
39
  -->
40
- <slot name="filterCommand" :table="$refs['table_' + column.code][0]" :tableColumn="column" :tableCode="column.code"></slot>
40
+ <slot name="tableFilterCommand" :tableColumn="column" :tableCode="column.code"></slot>
41
41
  </template>
42
42
  <template #column="scope">
43
43
  <!--