fmui-base 2.2.44 → 2.2.45

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.45: 北京CA
6
7
  - 2.2.44: 多行文本不限制高度
7
8
  - 2.2.43: 抢占环节加签只允许单选
8
9
  - 2.2.42: 上海CA提提示时间设为3秒
@@ -1219,7 +1219,7 @@ var PageHome = function (_React$Component) {
1219
1219
  var oauthWindowURL = "";
1220
1220
  if (content.oauthWindowURL && content.oauthWindowURL != null && content.oauthWindowURL != 'null' && typeof content.oauthWindowURL != 'undefined' && content.oauthWindowURL != '') {
1221
1221
  oauthWindowURL = content.oauthWindowURL;
1222
- t.openCaPage(oauthWindowURL);
1222
+ t.openCaPage(oauthWindowURL, content.caFirm);
1223
1223
  }
1224
1224
  var isCaUser = "0";
1225
1225
  if (content.isCaUser && content.isCaUser != null && content.isCaUser != 'null' && typeof content.isCaUser != 'undefined' && content.isCaUser != '') {
@@ -7629,12 +7629,12 @@ var PageHome = function (_React$Component) {
7629
7629
 
7630
7630
  }, {
7631
7631
  key: 'openCaPage',
7632
- value: function openCaPage(oauthWindowURL) {
7632
+ value: function openCaPage(oauthWindowURL, caFirm) {
7633
7633
  setTimeout(function () {
7634
7634
  console.log('oauthWindowURL', oauthWindowURL);
7635
- if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '') {
7635
+ if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '' && caFirm && caFirm != null && caFirm != 'null' && typeof caFirm != 'undefined' && caFirm != '') {
7636
7636
  localStorage.setItem('oauthWindowURL', oauthWindowURL);
7637
- localStorage.setItem('caFirm', this.state.caFirm);
7637
+ localStorage.setItem('caFirm', caFirm);
7638
7638
  // console.log(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
7639
7639
  // window.open(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
7640
7640
  location.href = getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.44",
3
+ "version": "2.2.45",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",