resolver-egretimp-plus 0.0.187 → 0.0.191
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/dist/h5/index.js +2 -2
- package/dist/web/index.js +2 -2
- package/package.json +1 -1
- package/src/rules/eventsSupplement.js +3 -3
- package/src/utils/render.jsx +6 -6
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ const allInitEvents = {
|
|
|
59
59
|
try {
|
|
60
60
|
val = JSON.parse(targetObjVal)
|
|
61
61
|
} catch (err) {
|
|
62
|
-
val = targetObjVal
|
|
62
|
+
val = targetObjVal || ''
|
|
63
63
|
}
|
|
64
64
|
if (typeof val === 'number') {
|
|
65
65
|
val = `${val}`
|
|
@@ -75,9 +75,9 @@ const allInitEvents = {
|
|
|
75
75
|
const targetConfig = dynamicMapComp?.[matchs[1]]
|
|
76
76
|
val = targetConfig?.bindValue || ''
|
|
77
77
|
} else {
|
|
78
|
-
const _assginKey = /^_assgin:(
|
|
78
|
+
const _assginKey = /^_assgin:(.*)$/
|
|
79
79
|
const matchs = val.match(_assginKey)
|
|
80
|
-
if (matchs
|
|
80
|
+
if (matchs) {
|
|
81
81
|
val = matchs?.[1]
|
|
82
82
|
} else {
|
|
83
83
|
const curVal = getConfigValue.call(this, targetObj, true)
|
package/src/utils/render.jsx
CHANGED
|
@@ -179,14 +179,14 @@ export function normalConfig({
|
|
|
179
179
|
// 这个对象是不可以被配置进行覆盖
|
|
180
180
|
const extendNativeObj = {
|
|
181
181
|
metaType,
|
|
182
|
-
|
|
182
|
+
eventInit: false, // 初始渲染的时候,配置项对应的事件是否执行了
|
|
183
183
|
bindValue: '', // 这个是对应组件绑定的值
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
vmIsBind: false,
|
|
185
|
+
vm: null, // 具体渲染的组件
|
|
186
|
+
wrapVm: null, // 当前组件的实例(也就是analysisComponent)
|
|
187
187
|
hireRelat,
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
parent: null, // 这个是执行过程中,动态获取的
|
|
189
|
+
dynamicHireRelat: '', // 这个也是执行过程中,动态获取的层级
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
let extendAttrObj = parseExtendAttr(config)
|