@sunggang/ui-lib 0.3.32 → 0.3.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/index.esm2.js +1 -2
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -78563,10 +78563,9 @@ var LiffProvider = function(param) {
|
|
|
78563
78563
|
lineToken = liff === null || liff === void 0 ? void 0 : liff.getAccessToken();
|
|
78564
78564
|
// 未登入先進行登入
|
|
78565
78565
|
if (!liff.isLoggedIn()) {
|
|
78566
|
-
// const redirectUri = customerRedirectUrl || `${window.location.href}`;
|
|
78567
78566
|
currentPath = window.location.pathname + window.location.search || customerRedirectUrl || "";
|
|
78568
78567
|
origin = window.location.origin;
|
|
78569
|
-
redirectUri = "".concat(origin
|
|
78568
|
+
redirectUri = "".concat(origin).concat(currentPath);
|
|
78570
78569
|
if (loginByUser || ignoreRoute) return [
|
|
78571
78570
|
2
|
|
78572
78571
|
];
|