adtec-core-package 0.4.3 → 0.4.5

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": "adtec-core-package",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -26,13 +26,13 @@
26
26
  >
27
27
  <template #reference>
28
28
  <el-tooltip :content="tip" placement="top" style="cursor: pointer">
29
- <el-button v-if="elementType === 'button'" style="padding: 8px 10px; margin-left: 4px" @click="iconClick">
29
+ <el-button v-if="elementType === 'button'" style="padding: 8px 10px; margin-left: 4px">
30
30
  <el-icon
31
31
  ref="buttonRef"
32
32
  :model-value="iconName"
33
33
  :style="style"
34
34
  :tip="tip"
35
-
35
+ @click="iconClick"
36
36
  :class="getClass"
37
37
  >
38
38
  <svg v-if="selcomp" aria-hidden="true">
@@ -105,9 +105,11 @@ function hasParentWithStyle(element: any, styleSelector: string) {
105
105
  let i = 0
106
106
  while (currentElement && i < 15) {
107
107
  if (currentElement?.tagName !== 'BODY') {
108
- if (currentElement.className?.indexOf(styleSelector) > -1) {
109
- return true
110
- }
108
+ try {
109
+ if (currentElement.className?.indexOf(styleSelector) > -1) {
110
+ return true
111
+ }
112
+ }catch{}
111
113
  currentElement = currentElement.parentNode
112
114
  i++
113
115
  } else {
@@ -66,4 +66,8 @@ export interface ISysMessageVo {
66
66
  createTime?: Date
67
67
  receiveId?: string
68
68
  receiveState?: number
69
+ /**
70
+ * 应用模块
71
+ */
72
+ applicationModule?:string
69
73
  }