sh-tools 2.2.11 → 2.2.12

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.11",
3
+ "version": "2.2.12",
4
4
  "description": "基于fetch和xe-utils二次封装,支持宏公式计算,及notification提示窗",
5
5
  "main": "packages/index.js",
6
6
  "scripts": {
@@ -168,7 +168,7 @@ export default {
168
168
  // 是否需要对原值进行重写 默认为false
169
169
  let resetValue = false
170
170
  // 配置公式,优先取解析后的嵌套公式
171
- let formula = $vUtils.get(renderProps, `formulaMap[${key}]`) || renderProps.formula
171
+ let formula = $vUtils.get(renderProps, `formulaMap.${key}`) || renderProps.formula
172
172
  // 进行默认赋值 若没有任何解析原数返回
173
173
  rvalue = value
174
174
  if (!$vUtils.isNone(defaultValue) && $vUtils.isNone(value)) {