@zscreate/zhxy-app-component 1.0.188 → 1.0.190

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.
@@ -193,7 +193,7 @@ export default {
193
193
  digitCount++;
194
194
  }
195
195
  }
196
- return chineseCount + ((englishCount + digitCount) * 0.5)
196
+ return chineseCount + ((englishCount + digitCount) * 0.7)
197
197
  },
198
198
  isChineseCharacter(char) {
199
199
  // 使用 Unicode 范围判断是否为中文字符
@@ -19,7 +19,7 @@ export const pubSubMixin = {
19
19
  var num = Number(num).toFixed(length);
20
20
  return type ? Number(num) : num;
21
21
  },
22
- calc_run(isFirstRun, msgData) {
22
+ calc_run(isFirstRun, msgData = {}) {
23
23
  let invalids = false
24
24
  const {type: widgetType, options} = this.widget
25
25
  let { formula, relyWidgets =[] } = options.formula
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",