n20-common-lib 2.18.0 → 2.18.1

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": "n20-common-lib",
3
- "version": "2.18.0",
3
+ "version": "2.18.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -42,7 +42,7 @@ function tipShow(el, arg) {
42
42
  if (el.$tooltipTitle) {
43
43
  // 修改这里的判断逻辑
44
44
  const shouldShowTooltip =
45
- el.$tooltipTitleOverflow || el.clientWidth < el.scrollWidth || el.offsetWidth < el.scrollWidth
45
+ !el.$tooltipTitleOverflow || el.clientWidth < el.scrollWidth || el.offsetWidth < el.scrollWidth
46
46
 
47
47
  if (shouldShowTooltip) {
48
48
  text = el.$tooltipTitle