@titaui/pc 1.15.53 → 1.15.54

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.
@@ -21,8 +21,6 @@ var _getLocale = require("../../../../utils/getLocale");
21
21
 
22
22
  var _i18nFrontTranslate = require("../../../../utils/i18n-front-translate");
23
23
 
24
- var _bsGlobal = require("../../../../utils/bs-global");
25
-
26
24
  require("./index.css");
27
25
 
28
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -53,6 +51,8 @@ var Fields = _form["default"].Fields;
53
51
  var prefix = "titaui-edit-personal-info";
54
52
 
55
53
  var EditBaseInfo = function EditBaseInfo(props) {
54
+ var _window$BSGlobal$tena;
55
+
56
56
  var visible = props.visible,
57
57
  _onCancel = props.onCancel,
58
58
  handleSuccessEditBaseInfo = props.handleSuccessEditBaseInfo,
@@ -187,7 +187,7 @@ var EditBaseInfo = function EditBaseInfo(props) {
187
187
  tip: (0, _i18nFrontTranslate.i18nLimitCharacters)(50),
188
188
  test: /^[\s\S]{0,50}$/
189
189
  }],
190
- disabled: (0, _bsGlobal.isWx)(),
190
+ disabled: (_window$BSGlobal$tena = window.BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.isTranslate,
191
191
  value: userInfo.name,
192
192
  onChange: handleNameChange
193
193
  }), /*#__PURE__*/_react["default"].createElement(Fields.Input, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.53",
3
+ "version": "1.15.54",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",