cloud-web-corejs 1.0.171 → 1.0.173

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.171",
4
+ "version": "1.0.173",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -65,7 +65,7 @@ export default {
65
65
  return this.field.options.labelHidden? null: this.label;
66
66
  },
67
67
  label() {
68
- return this.field.options.isFormLabel ? this.currentValue : this.getI18nLabel(this.field.options.label);
68
+ return this.field.options.isFormLabel ? this.getCurrentValue() : this.getI18nLabel(this.field.options.label);
69
69
  },
70
70
  widgetClass() {
71
71
  let list = [];
@@ -136,8 +136,6 @@ export default {
136
136
  let formScriptEnabled = this.field.options.formScriptEnabled || false;
137
137
  let scriptCode = this.field.options.formScriptCode;
138
138
  if (!scriptCode) return;
139
- if (!formScriptEnabled) return;
140
-
141
139
  let reportTemplate = this.getFormRef().reportTemplate;
142
140
  let formCode = reportTemplate.formCode;
143
141
  let accessParam = this.handleCustomEvent(this.field.options.formScriptParam);