br-dionysus 1.7.9 → 1.7.11

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/README.md CHANGED
@@ -1009,7 +1009,7 @@ const options: Option[] = [{
1009
1009
  <template>
1010
1010
  <div class="g-box">
1011
1011
  <h3>展开列</h3>
1012
- <p>{{ tableConfig }}</p>
1012
+ <p @click="zzzz">{{ tableConfig }}</p>
1013
1013
  <MTable
1014
1014
  class="style.box"
1015
1015
  :data="tableData"
@@ -1150,7 +1150,9 @@ const { tableTitle, headerDragend, tableConfig, filtersValue } = useTableConfig(
1150
1150
  // prop: 'name',
1151
1151
  // minWidth: 200
1152
1152
  // }]
1153
-
1153
+ const zzzz = () => {
1154
+ filtersValue.value = {}
1155
+ }
1154
1156
  tableData.value = [{
1155
1157
  id: 1,
1156
1158
  sn: 1,
@@ -1198,6 +1200,22 @@ tableData.value = [{
1198
1200
  address: 'No. 189, Grove St, Los Angeles',
1199
1201
  tag: 'Office',
1200
1202
  pid: 0
1203
+ }, {
1204
+ id: 5,
1205
+ sn: 5,
1206
+ date: '2016-05-05',
1207
+ name: 'Tom4',
1208
+ address: 'No. 189, Grove St, Los Angeles',
1209
+ tag: 'Office',
1210
+ pid: 0
1211
+ }, {
1212
+ id: 6,
1213
+ sn: 6,
1214
+ date: '2016-06-01',
1215
+ name: 'Tom4',
1216
+ address: 'No. 189, Grove St, Los Angeles',
1217
+ tag: 'Office',
1218
+ pid: 0
1201
1219
  }]
1202
1220
  </script>
1203
1221
 
@@ -3326,7 +3344,7 @@ const options: Option[] = [{
3326
3344
  <template>
3327
3345
  <div class="g-box">
3328
3346
  <h3>展开列</h3>
3329
- <p>{{ tableConfig }}</p>
3347
+ <p @click="zzzz">{{ tableConfig }}</p>
3330
3348
  <MTable
3331
3349
  class="style.box"
3332
3350
  :data="tableData"
@@ -3467,7 +3485,9 @@ const { tableTitle, headerDragend, tableConfig, filtersValue } = useTableConfig(
3467
3485
  // prop: 'name',
3468
3486
  // minWidth: 200
3469
3487
  // }]
3470
-
3488
+ const zzzz = () => {
3489
+ filtersValue.value = {}
3490
+ }
3471
3491
  tableData.value = [{
3472
3492
  id: 1,
3473
3493
  sn: 1,
@@ -3515,6 +3535,22 @@ tableData.value = [{
3515
3535
  address: 'No. 189, Grove St, Los Angeles',
3516
3536
  tag: 'Office',
3517
3537
  pid: 0
3538
+ }, {
3539
+ id: 5,
3540
+ sn: 5,
3541
+ date: '2016-05-05',
3542
+ name: 'Tom4',
3543
+ address: 'No. 189, Grove St, Los Angeles',
3544
+ tag: 'Office',
3545
+ pid: 0
3546
+ }, {
3547
+ id: 6,
3548
+ sn: 6,
3549
+ date: '2016-06-01',
3550
+ name: 'Tom4',
3551
+ address: 'No. 189, Grove St, Los Angeles',
3552
+ tag: 'Office',
3553
+ pid: 0
3518
3554
  }]
3519
3555
  </script>
3520
3556