resolver-egretimp-plus 0.0.187 → 0.0.188

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": "resolver-egretimp-plus",
3
- "version": "0.0.187",
3
+ "version": "0.0.188",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -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?.[1]) {
80
+ if (matchs) {
81
81
  val = matchs?.[1]
82
82
  } else {
83
83
  const curVal = getConfigValue.call(this, targetObj, true)
@@ -179,14 +179,14 @@ export function normalConfig({
179
179
  // 这个对象是不可以被配置进行覆盖
180
180
  const extendNativeObj = {
181
181
  metaType,
182
- // eventInit: false, // 初始渲染的时候,配置项对应的事件是否执行了
182
+ eventInit: false, // 初始渲染的时候,配置项对应的事件是否执行了
183
183
  bindValue: '', // 这个是对应组件绑定的值
184
- // vmIsBind: false,
185
- // vm: null, // 具体渲染的组件
186
- // wrapVm: null, // 当前组件的实例(也就是analysisComponent)
184
+ vmIsBind: false,
185
+ vm: null, // 具体渲染的组件
186
+ wrapVm: null, // 当前组件的实例(也就是analysisComponent)
187
187
  hireRelat,
188
- // parent: null, // 这个是执行过程中,动态获取的
189
- // dynamicHireRelat: '', // 这个也是执行过程中,动态获取的层级
188
+ parent: null, // 这个是执行过程中,动态获取的
189
+ dynamicHireRelat: '', // 这个也是执行过程中,动态获取的层级
190
190
  }
191
191
 
192
192
  let extendAttrObj = parseExtendAttr(config)