component-shipinlv 2.2.11 → 2.2.12
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/dist/Auth/index.d.ts +3 -0
- package/dist/Auth/index.js +2 -0
- package/dist/AuthClient/login-reg.d.ts +3 -0
- package/dist/AuthClient/login-reg.js +3 -0
- package/dist/AuthClient/login.d.ts +3 -0
- package/dist/AuthClient/login.js +4 -2
- package/dist/AuthClient/reg.d.ts +3 -0
- package/dist/AuthClient/reg.js +3 -2
- package/dist/asset/image/platform/tiktok.png +0 -0
- package/package.json +1 -1
package/dist/Auth/index.d.ts
CHANGED
package/dist/Auth/index.js
CHANGED
@@ -30,6 +30,7 @@ var Auth = function Auth(_ref) {
|
|
30
30
|
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
31
31
|
loginTypeList = _ref.loginTypeList,
|
32
32
|
env = _ref.env,
|
33
|
+
postData = _ref.postData,
|
33
34
|
roleType = _ref.roleType,
|
34
35
|
_ref$domain = _ref.domain,
|
35
36
|
domain = _ref$domain === void 0 ? document.location.hostname : _ref$domain,
|
@@ -330,6 +331,7 @@ var Auth = function Auth(_ref) {
|
|
330
331
|
env: env,
|
331
332
|
apiUrl: apiUrl,
|
332
333
|
roleType: roleType,
|
334
|
+
postData: postData,
|
333
335
|
productType: productType,
|
334
336
|
clientUniqueKeyList: clientUniqueKeyList,
|
335
337
|
accountRegDisabled: !loginTypeList.includes('account-reg'),
|
@@ -12,6 +12,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
|
|
12
12
|
productType = _ref.productType,
|
13
13
|
apiUrl = _ref.apiUrl,
|
14
14
|
roleType = _ref.roleType,
|
15
|
+
postData = _ref.postData,
|
15
16
|
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
16
17
|
_ref$activeKeyDefault = _ref.activeKeyDefault,
|
17
18
|
activeKeyDefault = _ref$activeKeyDefault === void 0 ? 'reg' : _ref$activeKeyDefault,
|
@@ -51,6 +52,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
|
|
51
52
|
roleType: roleType,
|
52
53
|
env: env,
|
53
54
|
apiUrl: apiUrl,
|
55
|
+
postData: postData,
|
54
56
|
productType: productType,
|
55
57
|
clientUniqueKeyList: clientUniqueKeyList,
|
56
58
|
onSuccess: function onSuccess() {
|
@@ -63,6 +65,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
|
|
63
65
|
env: env,
|
64
66
|
roleType: roleType,
|
65
67
|
productType: productType,
|
68
|
+
postData: postData,
|
66
69
|
clientUniqueKeyList: clientUniqueKeyList,
|
67
70
|
onSuccess: function onSuccess() {
|
68
71
|
return _onSuccess();
|
package/dist/AuthClient/login.js
CHANGED
@@ -48,6 +48,7 @@ var AuthReg = function AuthReg(_ref) {
|
|
48
48
|
apiUrl = _ref.apiUrl,
|
49
49
|
roleType = _ref.roleType,
|
50
50
|
productType = _ref.productType,
|
51
|
+
postData = _ref.postData,
|
51
52
|
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
52
53
|
_ref$onSuccess = _ref.onSuccess,
|
53
54
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess;
|
@@ -60,12 +61,13 @@ var AuthReg = function AuthReg(_ref) {
|
|
60
61
|
form = _Form$useForm2[0];
|
61
62
|
var _useRequest = useRequest(function (data) {
|
62
63
|
var unbind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
63
|
-
return AuthController.login(_objectSpread(_objectSpread({
|
64
|
+
return AuthController.login(_objectSpread(_objectSpread(_objectSpread({
|
64
65
|
productType: productType,
|
65
66
|
clientUniqueKeyList: clientUniqueKeyList,
|
66
67
|
from: "web"
|
67
68
|
}, data), {}, {
|
68
|
-
unbind: unbind
|
69
|
+
unbind: unbind
|
70
|
+
}, postData), {}, {
|
69
71
|
inviteUserId: Tool.getInviteUserId()
|
70
72
|
}), {
|
71
73
|
env: env,
|
package/dist/AuthClient/reg.d.ts
CHANGED
package/dist/AuthClient/reg.js
CHANGED
@@ -44,6 +44,7 @@ var Reg = function Reg(_ref) {
|
|
44
44
|
var env = _ref.env,
|
45
45
|
roleType = _ref.roleType,
|
46
46
|
productType = _ref.productType,
|
47
|
+
postData = _ref.postData,
|
47
48
|
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
48
49
|
_ref$onSuccess = _ref.onSuccess,
|
49
50
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess;
|
@@ -51,10 +52,10 @@ var Reg = function Reg(_ref) {
|
|
51
52
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
52
53
|
form = _Form$useForm2[0];
|
53
54
|
var _useRequest = useRequest(function (data) {
|
54
|
-
return AuthController.reg(_objectSpread(_objectSpread({
|
55
|
+
return AuthController.reg(_objectSpread(_objectSpread(_objectSpread({
|
55
56
|
productType: productType,
|
56
57
|
clientUniqueKeyList: clientUniqueKeyList
|
57
|
-
}, data), {}, {
|
58
|
+
}, data), postData), {}, {
|
58
59
|
inviteUserId: Tool.getInviteUserId()
|
59
60
|
}), {
|
60
61
|
env: env
|
Binary file
|