tntd 1.4.2 → 1.4.3

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.
@@ -116,7 +116,7 @@ export default props => {
116
116
 
117
117
  return <>
118
118
  <div
119
- class="tnt-ellipsis"
119
+ className="tnt-ellipsis"
120
120
  style={{
121
121
  ...style,
122
122
  maxWidth: widthLimit
@@ -126,7 +126,7 @@ export default props => {
126
126
  {prefix && prefix}
127
127
  {/* content */}
128
128
  <div
129
- class={getClassName()}
129
+ className={getClassName()}
130
130
  >
131
131
  {inner ? renderNode() : emptyText}
132
132
  </div>
@@ -136,7 +136,7 @@ export default props => {
136
136
  {
137
137
  inner && _copyable &&
138
138
  <div
139
- class='svg-button'
139
+ className='svg-button'
140
140
  onClick={() => handleCopy(elementRef.current.innerText)}
141
141
  >
142
142
  {
@@ -148,4 +148,4 @@ export default props => {
148
148
  }
149
149
  </div>
150
150
  </>;
151
- };
151
+ };
@@ -68,9 +68,9 @@ class SuperSelect extends PureComponent {
68
68
  }, 500);
69
69
  const { children: arr } = this.props;
70
70
  const children = this.turnChildren(arr);
71
- if (children && children.length > 0) {
72
- this.formulaWidth();
73
- }
71
+ // if (children && children.length > 0) {
72
+ this.formulaWidth();
73
+ // }
74
74
  }
75
75
 
76
76
  turnChildren = (children) => {
@@ -458,7 +458,6 @@ class SuperSelect extends PureComponent {
458
458
  }
459
459
 
460
460
  optionLabelProp = optionLabelProp || 'children';
461
-
462
461
  return (
463
462
  <Select
464
463
  {..._props}