@tongfun/tf-widget 0.1.134 → 0.1.135

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.
@@ -141573,7 +141573,6 @@ const addSettingColumn = (el, binding, vNode) => {
141573
141573
  }] : [...columns, mixinObj];
141574
141574
  newColumns.sort((a, b) => a.fieldIndex - b.fieldIndex);
141575
141575
  tableInstance.loadColumn(newColumns);
141576
- console.log(222, newColumns.map(item => (item.title || item.type) + item.fieldIndex));
141577
141576
  };
141578
141577
  /** 列排序方法 */
141579
141578
 
@@ -141596,7 +141595,15 @@ const customSort = field => {
141596
141595
 
141597
141596
  const initSettingHeader = (el, binding, vNode) => {
141598
141597
  const vm = vNode.context;
141599
- return vm.$createElement('i', {
141598
+ return vm.$createElement('el-tooltip', {
141599
+ class: 'umy-table-setting-tooltip',
141600
+ props: {
141601
+ effect: 'dark',
141602
+ content: '表格设置',
141603
+ placement: 'top'
141604
+ }
141605
+ }, [vm.$createElement('i', {
141606
+ // 样式在css中
141600
141607
  class: 'el-icon-setting',
141601
141608
  style: {
141602
141609
  'display': 'flex',
@@ -141612,7 +141619,7 @@ const initSettingHeader = (el, binding, vNode) => {
141612
141619
  }
141613
141620
 
141614
141621
  }
141615
- });
141622
+ })]);
141616
141623
  };
141617
141624
  /** 调整头部筛选以及排序 */
141618
141625
 
@@ -141583,7 +141583,6 @@ const addSettingColumn = (el, binding, vNode) => {
141583
141583
  }] : [...columns, mixinObj];
141584
141584
  newColumns.sort((a, b) => a.fieldIndex - b.fieldIndex);
141585
141585
  tableInstance.loadColumn(newColumns);
141586
- console.log(222, newColumns.map(item => (item.title || item.type) + item.fieldIndex));
141587
141586
  };
141588
141587
  /** 列排序方法 */
141589
141588
 
@@ -141606,7 +141605,15 @@ const customSort = field => {
141606
141605
 
141607
141606
  const initSettingHeader = (el, binding, vNode) => {
141608
141607
  const vm = vNode.context;
141609
- return vm.$createElement('i', {
141608
+ return vm.$createElement('el-tooltip', {
141609
+ class: 'umy-table-setting-tooltip',
141610
+ props: {
141611
+ effect: 'dark',
141612
+ content: '表格设置',
141613
+ placement: 'top'
141614
+ }
141615
+ }, [vm.$createElement('i', {
141616
+ // 样式在css中
141610
141617
  class: 'el-icon-setting',
141611
141618
  style: {
141612
141619
  'display': 'flex',
@@ -141622,7 +141629,7 @@ const initSettingHeader = (el, binding, vNode) => {
141622
141629
  }
141623
141630
 
141624
141631
  }
141625
- });
141632
+ })]);
141626
141633
  };
141627
141634
  /** 调整头部筛选以及排序 */
141628
141635