公告板
版本库
filestore
活动
搜索
登录
main
/
lmk-shop-wx
绿满眶商城微信小程序-uniapp
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化
xiangpei
2025-05-09
c3e6cdbb29580e77444541c7953aca33581a4267
[lmk-shop-wx.git]
/
js_sdk
/
u-draw-poster
/
utils
/
global.js
1
2
3
4
5
6
7
8
9
10
11
var _a;
export const PLATFORM = typeof process !== 'undefined' ? (_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.VUE_APP_PLATFORM : undefined;
/** 全局对象 */
const _uni = (function () {
if (typeof uni != "undefined")
return uni;
if (typeof wx != "undefined")
return wx;
return uni;
})();
export default _uni;