sh-tools 2.2.9 → 2.2.10

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": "sh-tools",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "基于fetch和xe-utils二次封装,支持宏公式计算,及notification提示窗",
5
5
  "main": "packages/index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@ function notice(type, options) {
19
19
  for (let i = idx + 1; i < inss.length; i++) {
20
20
  const cmpcss = getComputedStyle(inss[i].$el)
21
21
  const y = parseInt(cmpcss[ykey]) || 0
22
- inss[i].show(y - ins.$el.offsetHeight - offset + 'px')
22
+ inss[i].show(y - ins.$el.offsetHeight - option.offset + 'px')
23
23
  }
24
24
  instances = instances.filter(n => n.id !== nid)
25
25
  }