component-shipinlv 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,7 @@ var updateUserInfo = /*#__PURE__*/function () {
25
25
  Tool.setLocalUserInfo(_objectSpread(_objectSpread(_objectSpread({}, userInfo), result), {}, {
26
26
  isLogin: true
27
27
  }));
28
+ Tool.event.run('user-info');
28
29
  }
29
30
  case 8:
30
31
  case "end":
@@ -22,7 +22,7 @@ var renewalVip = /*#__PURE__*/function () {
22
22
  return _context.abrupt("return", new Promise(function (resolve, reject) {
23
23
  if (siteInfo.disabledOnlineBuy.includes(productName)) {
24
24
  // 激活码
25
- Tool.drawer({
25
+ var dialog = Tool.drawer({
26
26
  title: /*#__PURE__*/_jsxs(_Fragment, {
27
27
  children: ["\u6FC0\u6D3B\u7801 ", /*#__PURE__*/_jsx("small", {
28
28
  style: {
@@ -34,6 +34,7 @@ var renewalVip = /*#__PURE__*/function () {
34
34
  content: /*#__PURE__*/_jsx(UserProfileVipCard, {
35
35
  onActive: function onActive() {
36
36
  resolve(true);
37
+ dialog.destroy();
37
38
  }
38
39
  }),
39
40
  width: 520
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",