element-assits 0.0.81 → 0.0.82

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -2274,7 +2274,7 @@ const Vx = {
2274
2274
  ));
2275
2275
  }
2276
2276
  const a = ((_ = this.innerOperation) == null ? void 0 : _.enableAutoWidth) !== !1, u = (m = this.innerOperation) == null ? void 0 : m.width, d = (b = this.innerOperation) == null ? void 0 : b.minWidth;
2277
- return a && !u && typeof d != "string" ? i.width = Math.max(this.optWidth || 0, d || 120) : (i.width = u, i.minWidth = d), i.className = [i.className, "operation-column"].filter(Boolean).join(" "), { show: r, render: t, attrs: i };
2277
+ return a && !u && typeof d != "string" ? this.optWidth ? i.width = Math.max(this.optWidth, d || 120) : i.width = typeof d == "number" ? d + "px" : d : (i.width = u, i.minWidth = d), i.className = [i.className, "operation-column"].filter(Boolean).join(" "), { show: r, render: t, attrs: i };
2278
2278
  },
2279
2279
  thePagination() {
2280
2280
  return Ws(this.innerPagination, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.81",
3
+ "version": "0.0.82",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",