sone-ui-component-3.2.4 2.1.22 → 2.1.23

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,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.1.22",
3
+ "version": "2.1.23",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -1,5 +1,5 @@
1
1
  <!--
2
- * @Description: 直接copy的table 删掉了一些树的逻辑
2
+ * @Description: 直接copy的table 优化代码 硬是让我删掉了800行。。。
3
3
  * @Author:xjl
4
4
  * @Date:2021-09-10 11:03
5
5
  -->
@@ -139,7 +139,7 @@
139
139
  :prop="column.prop"
140
140
  :width="column.width"
141
141
  :align="column.hasOwnProperty('align') ? column.align : 'left'"
142
- :show-overflow-tooltip="false"
142
+ :show-overflow-tooltip="column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : false"
143
143
  filter-placement="bottom-end"
144
144
  :header-align="column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left'"
145
145
  :column-key="column.hasOwnProperty('elementId')? column.elementId:column.prop"
@@ -183,11 +183,7 @@
183
183
  <!--表体-->
184
184
  <template slot-scope="scope">
185
185
  <slot :index="scope.$index" :name="column.slotCell" :row="scope.row" v-if="column.slotCell"></slot>
186
- <template v-else>
187
- <el-tooltip :content="String(scope.row[column.prop])" placement="top" effect="light" popper-class="over_popper">
188
- <span class="over_title">{{ scope.row[column.prop] }}</span>
189
- </el-tooltip>
190
- </template>
186
+ <template v-else>{{ scope.row[column.prop] }}</template>
191
187
  </template>
192
188
  </el-table-column>
193
189
  </template>
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ if (typeof window !== 'undefined' && window.Vue) {
57
57
  }
58
58
 
59
59
  export default {
60
- version: '2.1.22',
60
+ version: '2.1.23',
61
61
  locale: locale.use,
62
62
  i18n: locale.i18n,
63
63
  install,