fmui-base 2.1.35 → 2.1.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/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.36:签名图片使用原图去掉宽度高度
6
7
  - 2.1.35:统一待办科研跳转特殊处理
7
8
  - 2.1.34:表单组件子表字段只读时不做必填校验
8
9
  - 2.1.33:表单组件html编辑器移动端图片路径替换成viewImage形式
@@ -272,7 +272,7 @@ var PageHome = function (_React$Component) {
272
272
  { className: 't-PR5' },
273
273
  item.orgShowName
274
274
  );
275
- var signPicHtml = item.signPic ? _react2.default.createElement('img', { className: 't-H64 t-W64 t-PR5', src: t.state.loadImg + item.signPic }) : "";
275
+ var signPicHtml = item.signPic ? _react2.default.createElement('img', { className: ' t-PR5', src: t.state.loadImg + item.signPic }) : "";
276
276
  var taskNameHtml = _react2.default.createElement(
277
277
  'span',
278
278
  { className: 't-PR5' },
@@ -71,6 +71,13 @@ var HBox = _Boxs2.default.HBox,
71
71
  Box = _Boxs2.default.Box;
72
72
 
73
73
  var searchVal = '';
74
+ var isPageHide = false;
75
+ window.addEventListener('pageshow', function () {
76
+ console.log("isPageHide===" + isPageHide);
77
+ if (isPageHide) {
78
+ window.location.reload();
79
+ }
80
+ });
74
81
 
75
82
  var ListItem = function (_React$Component) {
76
83
  _inherits(ListItem, _React$Component);
@@ -131,6 +138,7 @@ var ListItem = function (_React$Component) {
131
138
  decodeURI(url);
132
139
  location.hash = url;
133
140
  } else {
141
+ isPageHide = true;
134
142
  var fullUrl = window.location.href;
135
143
  fullUrl = fullUrl.replace(/clientType/g, "");
136
144
  fullUrl = fullUrl.replace(/thirdMenuType/g, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.35",
3
+ "version": "2.1.36",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",