@sunggang/ui-lib 0.4.48 → 0.4.49
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/LiffProvider.cjs.js +6 -0
- package/LiffProvider.esm.js +6 -0
- package/package.json +1 -1
package/LiffProvider.cjs.js
CHANGED
|
@@ -746,6 +746,12 @@ var LiffProvider = function(param) {
|
|
|
746
746
|
}
|
|
747
747
|
return originalFetch(url, options);
|
|
748
748
|
};
|
|
749
|
+
if (!liffId) {
|
|
750
|
+
console.warn("liffId 未提供,無法初始化 LIFF");
|
|
751
|
+
return [
|
|
752
|
+
2
|
|
753
|
+
];
|
|
754
|
+
}
|
|
749
755
|
return [
|
|
750
756
|
4,
|
|
751
757
|
Promise.resolve().then(function () { return require('./index.cjs3.js'); })
|
package/LiffProvider.esm.js
CHANGED