fmui-base 2.2.33 → 2.2.34

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.2.34: 北京CA授权后刷新表单页
6
7
  - 2.2.33: 下移动端结束流程,结束原因提示
7
8
  - 2.2.32: 下拉多选支持联动
8
9
  - 2.2.31: 移动端结束流程修改,下拉字段支持计算,下拉多选支持联动
@@ -127,6 +127,16 @@ var ButtonGroup = _Button2.default.ButtonGroup,
127
127
  TextButton = _Button2.default.TextButton;
128
128
  //import UserInfo from '../approval-details/UserInfo';
129
129
 
130
+ var isReload = false;
131
+ window.addEventListener('pageshow', function () {
132
+ console.log("isReload===" + isReload);
133
+ isReload = this.localStorage.getItem("isReload");
134
+ this.localStorage.setItem("isReload", false);
135
+ if (isReload) {
136
+ window.location.reload();
137
+ }
138
+ });
139
+
130
140
  var extFile = "";
131
141
  var ActionSheetButton = void 0;
132
142
  var iconIndex = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.33",
3
+ "version": "2.2.34",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",