component-shipinlv 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -229,12 +229,16 @@ var Auth = function Auth(_ref) {
229
229
  return h5WePublicLogin();
230
230
  case 4:
231
231
  setLoading(false);
232
- _context3.next = 9;
232
+ _context3.next = 10;
233
233
  break;
234
234
  case 7:
235
- _context3.next = 9;
235
+ if (!loginTypeList.includes('wechat')) {
236
+ _context3.next = 10;
237
+ break;
238
+ }
239
+ _context3.next = 10;
236
240
  return runWeLoginQr();
237
- case 9:
241
+ case 10:
238
242
  case "end":
239
243
  return _context3.stop();
240
244
  }
@@ -232,12 +232,16 @@ var LoginQr = function LoginQr(_ref) {
232
232
  return h5WePublicLogin();
233
233
  case 4:
234
234
  setLoading(false);
235
- _context3.next = 9;
235
+ _context3.next = 10;
236
236
  break;
237
237
  case 7:
238
- _context3.next = 9;
238
+ if (wechatDisabled) {
239
+ _context3.next = 10;
240
+ break;
241
+ }
242
+ _context3.next = 10;
239
243
  return runWeLoginQr();
240
- case 9:
244
+ case 10:
241
245
  case "end":
242
246
  return _context3.stop();
243
247
  }
@@ -112,10 +112,9 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
112
112
  description: "\u8BF7\u9009\u62E9\u8D26\u53F7",
113
113
  image: Empty.PRESENTED_IMAGE_SIMPLE
114
114
  }) : /*#__PURE__*/_jsx(Result, {
115
- status: "403"
116
- // title="没有自动发布权限,只支持多账户管理"
117
- ,
118
- title: "\u4E0B\u4E00\u7248\u672C\uFF0C\u5373\u5C06\u53D1\u5E03"
115
+ status: "403",
116
+ title: "\u6CA1\u6709\u81EA\u52A8\u53D1\u5E03\u6743\u9650\uFF0C\u8054\u7CFB\u4EE3\u7406\u8D2D\u4E70\u6FC0\u6D3B\u7801"
117
+ // title="下一版本,即将发布"
119
118
  // subTitle="如有需要,请联系管理员开通"
120
119
  ,
121
120
  extra: [/*#__PURE__*/_jsx(_Fragment, {})]
@@ -24,7 +24,8 @@ var PublishTaskPlanClass = /*#__PURE__*/function () {
24
24
  value: function onInit() {
25
25
  var _this = this,
26
26
  _window$getBridge,
27
- _window;
27
+ _window,
28
+ _window$getBridge$onL;
28
29
  setInterval(function () {
29
30
  if (_this.isPublishing) {
30
31
  return;
@@ -33,7 +34,7 @@ var PublishTaskPlanClass = /*#__PURE__*/function () {
33
34
  }, 2e3);
34
35
 
35
36
  // 桥
36
- (_window$getBridge = (_window = window).getBridge) === null || _window$getBridge === void 0 || (_window$getBridge = _window$getBridge.call(_window)) === null || _window$getBridge === void 0 || _window$getBridge.onLog(function (query) {
37
+ (_window$getBridge = (_window = window).getBridge) === null || _window$getBridge === void 0 || (_window$getBridge = _window$getBridge.call(_window)) === null || _window$getBridge === void 0 || (_window$getBridge$onL = _window$getBridge.onLog) === null || _window$getBridge$onL === void 0 || _window$getBridge$onL.call(_window$getBridge, function (query) {
37
38
  event.run('shipinlv-video-publish-log', query);
38
39
  });
39
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",