yy-forms 1.0.35 → 1.0.36

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/index.esm.js CHANGED
@@ -2839,7 +2839,7 @@ function GlobalSettings(_ref) {
2839
2839
  }
2840
2840
  }, /*#__PURE__*/React.createElement(FormRender, {
2841
2841
  form: form,
2842
- schema: i18n.language === 'zh-CN' ? defaultGlobalSettings : USdefaultGlobalSettings,
2842
+ schema: i18n.language === 'cn' ? defaultGlobalSettings : USdefaultGlobalSettings,
2843
2843
  watch: {
2844
2844
  '#': function _(v) {
2845
2845
  return onDataChange(v);
package/dist/index.js CHANGED
@@ -2866,7 +2866,7 @@ function GlobalSettings(_ref) {
2866
2866
  }
2867
2867
  }, /*#__PURE__*/React__default['default'].createElement(FormRender__default['default'], {
2868
2868
  form: form,
2869
- schema: i18n.language === 'zh-CN' ? defaultGlobalSettings : USdefaultGlobalSettings,
2869
+ schema: i18n.language === 'cn' ? defaultGlobalSettings : USdefaultGlobalSettings,
2870
2870
  watch: {
2871
2871
  '#': function _(v) {
2872
2872
  return onDataChange(v);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yy-forms",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -38,7 +38,7 @@ export default function GlobalSettings({ widgets }) {
38
38
  <div style={{ paddingRight: 24 }}>
39
39
  <FormRender
40
40
  form={form}
41
- schema={i18n.language === 'zh-CN' ? defaultGlobalSettings : USdefaultGlobalSettings}
41
+ schema={i18n.language === 'cn' ? defaultGlobalSettings : USdefaultGlobalSettings}
42
42
  watch={{
43
43
  '#': v => onDataChange(v),
44
44
  }}