Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
22299361
U
uni-app
项目概览
DCloud
/
uni-app
6 个月 前同步成功
通知
751
Star
38709
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
8
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
8
Issue
8
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
22299361
编写于
4月 19, 2024
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
ec1f6be4
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
136 addition
and
137 deletion
+136
-137
packages/uni-app-harmony/dist/uni.runtime.esm.js
packages/uni-app-harmony/dist/uni.runtime.esm.js
+112
-113
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+2
-2
packages/uni-app-plus/dist/uni.x.runtime.esm.js
packages/uni-app-plus/dist/uni.x.runtime.esm.js
+2
-2
packages/uni-mp-alipay/dist/uni.api.esm.js
packages/uni-mp-alipay/dist/uni.api.esm.js
+2
-2
packages/uni-mp-baidu/dist/uni.api.esm.js
packages/uni-mp-baidu/dist/uni.api.esm.js
+2
-2
packages/uni-mp-jd/dist/uni.api.esm.js
packages/uni-mp-jd/dist/uni.api.esm.js
+2
-2
packages/uni-mp-kuaishou/dist/uni.api.esm.js
packages/uni-mp-kuaishou/dist/uni.api.esm.js
+2
-2
packages/uni-mp-lark/dist/uni.api.esm.js
packages/uni-mp-lark/dist/uni.api.esm.js
+2
-2
packages/uni-mp-qq/dist/uni.api.esm.js
packages/uni-mp-qq/dist/uni.api.esm.js
+2
-2
packages/uni-mp-toutiao/dist/uni.api.esm.js
packages/uni-mp-toutiao/dist/uni.api.esm.js
+2
-2
packages/uni-mp-weixin/dist/uni.api.esm.js
packages/uni-mp-weixin/dist/uni.api.esm.js
+2
-2
packages/uni-mp-xhs/dist/uni.api.esm.js
packages/uni-mp-xhs/dist/uni.api.esm.js
+2
-2
packages/uni-quickapp-webview/dist/uni.api.esm.js
packages/uni-quickapp-webview/dist/uni.api.esm.js
+2
-2
未找到文件。
packages/uni-app-harmony/dist/uni.runtime.esm.js
浏览文件 @
22299361
...
...
@@ -39,118 +39,6 @@ const capitalize = cacheStringFunction((str) => {
return
str
.
charAt
(
0
).
toUpperCase
()
+
str
.
slice
(
1
);
});
const
LINEFEED
=
'
\n
'
;
const
ON_READY
=
'
onReady
'
;
const
ON_UNLOAD
=
'
onUnload
'
;
let
lastLogTime
=
0
;
function
formatLog
(
module
,
...
args
)
{
const
now
=
Date
.
now
();
const
diff
=
lastLogTime
?
now
-
lastLogTime
:
0
;
lastLogTime
=
now
;
return
`[
${
now
}
][
${
diff
}
ms][
${
module
}
]:
${
args
.
map
((
arg
)
=>
JSON
.
stringify
(
arg
))
.
join
(
'
'
)}
`
;
}
const
invokeArrayFns
=
(
fns
,
arg
)
=>
{
let
ret
;
for
(
let
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
ret
=
fns
[
i
](
arg
);
}
return
ret
;
};
function
once
(
fn
,
ctx
=
null
)
{
let
res
;
return
((...
args
)
=>
{
if
(
fn
)
{
res
=
fn
.
apply
(
ctx
,
args
);
fn
=
null
;
}
return
res
;
});
}
class
EventChannel
{
id
;
listener
;
emitCache
;
constructor
(
id
,
events
)
{
this
.
id
=
id
;
this
.
listener
=
{};
this
.
emitCache
=
[];
if
(
events
)
{
Object
.
keys
(
events
).
forEach
((
name
)
=>
{
this
.
on
(
name
,
events
[
name
]);
});
}
}
emit
(
eventName
,
...
args
)
{
const
fns
=
this
.
listener
[
eventName
];
if
(
!
fns
)
{
return
this
.
emitCache
.
push
({
eventName
,
args
,
});
}
fns
.
forEach
((
opt
)
=>
{
opt
.
fn
.
apply
(
opt
.
fn
,
args
);
});
this
.
listener
[
eventName
]
=
fns
.
filter
((
opt
)
=>
opt
.
type
!==
'
once
'
);
}
on
(
eventName
,
fn
)
{
this
.
_addListener
(
eventName
,
'
on
'
,
fn
);
this
.
_clearCache
(
eventName
);
}
once
(
eventName
,
fn
)
{
this
.
_addListener
(
eventName
,
'
once
'
,
fn
);
this
.
_clearCache
(
eventName
);
}
off
(
eventName
,
fn
)
{
const
fns
=
this
.
listener
[
eventName
];
if
(
!
fns
)
{
return
;
}
if
(
fn
)
{
for
(
let
i
=
0
;
i
<
fns
.
length
;)
{
if
(
fns
[
i
].
fn
===
fn
)
{
fns
.
splice
(
i
,
1
);
i
--
;
}
i
++
;
}
}
else
{
delete
this
.
listener
[
eventName
];
}
}
_clearCache
(
eventName
)
{
for
(
let
index
=
0
;
index
<
this
.
emitCache
.
length
;
index
++
)
{
const
cache
=
this
.
emitCache
[
index
];
const
_name
=
eventName
?
cache
.
eventName
===
eventName
?
eventName
:
null
:
cache
.
eventName
;
if
(
!
_name
)
continue
;
const
location
=
this
.
emit
.
apply
(
this
,
[
_name
,
...
cache
.
args
]);
if
(
typeof
location
===
'
number
'
)
{
this
.
emitCache
.
pop
();
continue
;
}
this
.
emitCache
.
splice
(
index
,
1
);
index
--
;
}
}
_addListener
(
eventName
,
type
,
fn
)
{
(
this
.
listener
[
eventName
]
||
(
this
.
listener
[
eventName
]
=
[])).
push
({
fn
,
type
,
});
}
}
const
CHOOSE_SIZE_TYPES
=
[
'
original
'
,
'
compressed
'
];
const
CHOOSE_SOURCE_TYPES
=
[
'
album
'
,
'
camera
'
];
function
elemsInArray
(
strArr
,
optionalVal
)
{
...
...
@@ -562,7 +450,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
@@ -599,6 +487,117 @@ function getBaseSystemInfo() {
};
}
const
ON_READY
=
'
onReady
'
;
const
ON_UNLOAD
=
'
onUnload
'
;
let
lastLogTime
=
0
;
function
formatLog
(
module
,
...
args
)
{
const
now
=
Date
.
now
();
const
diff
=
lastLogTime
?
now
-
lastLogTime
:
0
;
lastLogTime
=
now
;
return
`[
${
now
}
][
${
diff
}
ms][
${
module
}
]:
${
args
.
map
((
arg
)
=>
JSON
.
stringify
(
arg
))
.
join
(
'
'
)}
`
;
}
const
invokeArrayFns
=
(
fns
,
arg
)
=>
{
let
ret
;
for
(
let
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
ret
=
fns
[
i
](
arg
);
}
return
ret
;
};
function
once
(
fn
,
ctx
=
null
)
{
let
res
;
return
((...
args
)
=>
{
if
(
fn
)
{
res
=
fn
.
apply
(
ctx
,
args
);
fn
=
null
;
}
return
res
;
});
}
class
EventChannel
{
id
;
listener
;
emitCache
;
constructor
(
id
,
events
)
{
this
.
id
=
id
;
this
.
listener
=
{};
this
.
emitCache
=
[];
if
(
events
)
{
Object
.
keys
(
events
).
forEach
((
name
)
=>
{
this
.
on
(
name
,
events
[
name
]);
});
}
}
emit
(
eventName
,
...
args
)
{
const
fns
=
this
.
listener
[
eventName
];
if
(
!
fns
)
{
return
this
.
emitCache
.
push
({
eventName
,
args
,
});
}
fns
.
forEach
((
opt
)
=>
{
opt
.
fn
.
apply
(
opt
.
fn
,
args
);
});
this
.
listener
[
eventName
]
=
fns
.
filter
((
opt
)
=>
opt
.
type
!==
'
once
'
);
}
on
(
eventName
,
fn
)
{
this
.
_addListener
(
eventName
,
'
on
'
,
fn
);
this
.
_clearCache
(
eventName
);
}
once
(
eventName
,
fn
)
{
this
.
_addListener
(
eventName
,
'
once
'
,
fn
);
this
.
_clearCache
(
eventName
);
}
off
(
eventName
,
fn
)
{
const
fns
=
this
.
listener
[
eventName
];
if
(
!
fns
)
{
return
;
}
if
(
fn
)
{
for
(
let
i
=
0
;
i
<
fns
.
length
;)
{
if
(
fns
[
i
].
fn
===
fn
)
{
fns
.
splice
(
i
,
1
);
i
--
;
}
i
++
;
}
}
else
{
delete
this
.
listener
[
eventName
];
}
}
_clearCache
(
eventName
)
{
for
(
let
index
=
0
;
index
<
this
.
emitCache
.
length
;
index
++
)
{
const
cache
=
this
.
emitCache
[
index
];
const
_name
=
eventName
?
cache
.
eventName
===
eventName
?
eventName
:
null
:
cache
.
eventName
;
if
(
!
_name
)
continue
;
const
location
=
this
.
emit
.
apply
(
this
,
[
_name
,
...
cache
.
args
]);
if
(
typeof
location
===
'
number
'
)
{
this
.
emitCache
.
pop
();
continue
;
}
this
.
emitCache
.
splice
(
index
,
1
);
index
--
;
}
}
_addListener
(
eventName
,
type
,
fn
)
{
(
this
.
listener
[
eventName
]
||
(
this
.
listener
[
eventName
]
=
[])).
push
({
fn
,
type
,
});
}
}
const
isObject
=
(
val
)
=>
val
!==
null
&&
typeof
val
===
'
object
'
;
const
defaultDelimiters
=
[
'
{
'
,
'
}
'
];
class
BaseFormatter
{
...
...
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
22299361
import { isArray, hasOwn as hasOwn$1, isString, isPlainObject, isObject as isObject$1, toRawType, capitalize, makeMap, isFunction, isPromise, extend, remove, toTypeString } from '@vue/shared';
import {
LINEFEED,
parseNVueDataset, once, I18N_JSON_DELIMITERS, Emitter, normalizeStyles, addLeadingSlash, resolveComponentInstance, invokeArrayFns, removeLeadingSlash, ON_RESIZE, ON_APP_ENTER_FOREGROUND, ON_APP_ENTER_BACKGROUND, ON_SHOW, ON_HIDE, ON_PAGE_SCROLL, ON_REACH_BOTTOM, SCHEME_RE, DATA_RE, cacheStringFunction, formatLog, parseQuery, ON_ERROR, callOptions, ON_UNHANDLE_REJECTION, ON_PAGE_NOT_FOUND, PRIMARY_COLOR, getLen, ON_THEME_CHANGE, TABBAR_HEIGHT, NAVBAR_HEIGHT, sortObject, OFF_THEME_CHANGE, ON_KEYBOARD_HEIGHT_CHANGE, normalizeTabBarStyles, ON_NAVIGATION_BAR_BUTTON_TAP, stringifyQuery as stringifyQuery$1, debounce, ON_PULL_DOWN_REFRESH, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_BACK_PRESS, UniNode, NODE_TYPE_PAGE, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_INSERT, ACTION_TYPE_CREATE, ACTION_TYPE_REMOVE, ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ON_READY, ON_UNLOAD, EventChannel, ON_REACH_BOTTOM_DISTANCE, parseUrl, onCreateVueApp, ON_TAB_ITEM_TAP, ON_LAUNCH, ACTION_TYPE_EVENT, createUniEvent, ON_WXS_INVOKE_CALL_METHOD, WEB_INVOKE_APPSERVICE } from '@dcloudio/uni-shared';
import { parseNVueDataset, once, I18N_JSON_DELIMITERS, Emitter, normalizeStyles, addLeadingSlash, resolveComponentInstance, invokeArrayFns, removeLeadingSlash, ON_RESIZE, ON_APP_ENTER_FOREGROUND, ON_APP_ENTER_BACKGROUND, ON_SHOW, ON_HIDE, ON_PAGE_SCROLL, ON_REACH_BOTTOM, SCHEME_RE, DATA_RE, cacheStringFunction, formatLog, parseQuery, ON_ERROR, callOptions, ON_UNHANDLE_REJECTION, ON_PAGE_NOT_FOUND, PRIMARY_COLOR, getLen, ON_THEME_CHANGE, TABBAR_HEIGHT, NAVBAR_HEIGHT, sortObject, OFF_THEME_CHANGE, ON_KEYBOARD_HEIGHT_CHANGE, normalizeTabBarStyles, ON_NAVIGATION_BAR_BUTTON_TAP, stringifyQuery as stringifyQuery$1, debounce, ON_PULL_DOWN_REFRESH, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_BACK_PRESS, UniNode, NODE_TYPE_PAGE, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_INSERT, ACTION_TYPE_CREATE, ACTION_TYPE_REMOVE, ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ON_READY, ON_UNLOAD, EventChannel, ON_REACH_BOTTOM_DISTANCE, parseUrl, onCreateVueApp, ON_TAB_ITEM_TAP, ON_LAUNCH, ACTION_TYPE_EVENT, createUniEvent, ON_WXS_INVOKE_CALL_METHOD, WEB_INVOKE_APPSERVICE } from '@dcloudio/uni-shared';
import { ref, createVNode, render, injectHook, queuePostFlushCb, getCurrentInstance, onMounted, nextTick, onBeforeUnmount } from 'vue';
/*
...
...
@@ -577,7 +577,7 @@ function normalizeErrMsg(errMsg) {
return errMsg;
}
if (errMsg.stack) {
console.error(errMsg.message +
LINEFEED
+ errMsg.stack);
console.error(errMsg.message +
'\n'
+ errMsg.stack);
return errMsg.message;
}
return errMsg;
...
...
packages/uni-app-plus/dist/uni.x.runtime.esm.js
浏览文件 @
22299361
import
{
normalizeStyles
,
addLeadingSlash
,
invokeArrayFns
,
LINEFEED
,
SCHEME_RE
,
DATA_RE
,
cacheStringFunction
,
parseQuery
,
Emitter
,
ON_UNHANDLE_REJECTION
,
ON_PAGE_NOT_FOUND
,
ON_ERROR
,
ON_SHOW
,
ON_HIDE
,
removeLeadingSlash
,
getLen
,
EventChannel
,
once
,
ON_UNLOAD
,
ON_READY
,
ON_PAGE_SCROLL
,
ON_PULL_DOWN_REFRESH
,
ON_REACH_BOTTOM
,
ON_RESIZE
,
parseUrl
,
ON_BACK_PRESS
,
ON_LAUNCH
}
from
"
@dcloudio/uni-shared
"
;
import
{
normalizeStyles
,
addLeadingSlash
,
invokeArrayFns
,
SCHEME_RE
,
DATA_RE
,
cacheStringFunction
,
parseQuery
,
Emitter
,
ON_UNHANDLE_REJECTION
,
ON_PAGE_NOT_FOUND
,
ON_ERROR
,
ON_SHOW
,
ON_HIDE
,
removeLeadingSlash
,
getLen
,
EventChannel
,
once
,
ON_UNLOAD
,
ON_READY
,
ON_PAGE_SCROLL
,
ON_PULL_DOWN_REFRESH
,
ON_REACH_BOTTOM
,
ON_RESIZE
,
parseUrl
,
ON_BACK_PRESS
,
ON_LAUNCH
}
from
"
@dcloudio/uni-shared
"
;
import
{
extend
,
isString
,
isPlainObject
,
isFunction
as
isFunction$1
,
isArray
,
isPromise
,
hasOwn
,
remove
,
capitalize
,
toTypeString
,
toRawType
,
parseStringStyle
}
from
"
@vue/shared
"
;
import
{
createVNode
,
render
,
injectHook
,
getCurrentInstance
,
defineComponent
,
warn
,
isInSSRComponentSetup
,
ref
,
watchEffect
,
watch
,
computed
,
onMounted
,
camelize
,
onUnmounted
,
reactive
,
nextTick
}
from
"
vue
"
;
function
getCurrentPage
()
{
...
...
@@ -420,7 +420,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
"
\n
"
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-alipay/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
function
getBaseSystemInfo
()
{
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-baidu/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
swan
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-jd/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
jd
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-kuaishou/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
ks
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-lark/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
tt
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-qq/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
qq
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-toutiao/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
tt
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-weixin/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
sortObject
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
sortObject
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
wx
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-mp-xhs/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
xhs
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
packages/uni-quickapp-webview/dist/uni.api.esm.js
浏览文件 @
22299361
import
{
isArray
,
hasOwn
,
isString
,
isPlainObject
,
isObject
,
capitalize
,
toRawType
,
makeMap
,
isFunction
,
isPromise
,
extend
,
remove
}
from
'
@vue/shared
'
;
import
{
normalizeLocale
,
LOCALE_EN
}
from
'
@dcloudio/uni-i18n
'
;
import
{
LINEFEED
,
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
import
{
Emitter
,
onCreateVueApp
,
invokeCreateVueAppHook
}
from
'
@dcloudio/uni-shared
'
;
function
getBaseSystemInfo
()
{
return
qa
.
getSystemInfoSync
();
...
...
@@ -407,7 +407,7 @@ function normalizeErrMsg(errMsg) {
return
errMsg
;
}
if
(
errMsg
.
stack
)
{
console
.
error
(
errMsg
.
message
+
LINEFEED
+
errMsg
.
stack
);
console
.
error
(
errMsg
.
message
+
'
\n
'
+
errMsg
.
stack
);
return
errMsg
.
message
;
}
return
errMsg
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录