公告板
版本库
filestore
活动
搜索
登录
main
/
lmk-shop-wx
绿满眶商城微信小程序-uniapp
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
领取记录,跳转
zxl
2025-08-28
1ea0a9f92a01fa727a47e44b4fd58e5d1a03e0a0
[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;