Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
m0_68066342
uni-app
提交
4d302c81
U
uni-app
项目概览
m0_68066342
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4d302c81
编写于
10月 09, 2021
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build(deps): bump vue from 3.2.19 to 3.2.20
上级
fe571091
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
51 addition
and
9 deletion
+51
-9
packages/uni-mp-vue/dist/vue.runtime.esm.js
packages/uni-mp-vue/dist/vue.runtime.esm.js
+51
-9
未找到文件。
packages/uni-mp-vue/dist/vue.runtime.esm.js
浏览文件 @
4d302c81
...
...
@@ -4276,15 +4276,21 @@ function getContext() {
* only.
* @internal
*/
function
mergeDefaults
(
// the base props is compiler-generated and guaranteed to be in this shape.
props
,
defaults
)
{
function
mergeDefaults
(
raw
,
defaults
)
{
const
props
=
isArray
(
raw
)
?
raw
.
reduce
((
normalized
,
p
)
=>
((
normalized
[
p
]
=
{}),
normalized
),
{})
:
raw
;
for
(
const
key
in
defaults
)
{
const
val
=
props
[
key
];
if
(
val
)
{
val
.
default
=
defaults
[
key
];
const
opt
=
props
[
key
];
if
(
opt
)
{
if
(
isArray
(
opt
)
||
isFunction
(
opt
))
{
props
[
key
]
=
{
type
:
opt
,
default
:
defaults
[
key
]
};
}
else
if
(
val
===
null
)
{
else
{
opt
.
default
=
defaults
[
key
];
}
}
else
if
(
opt
===
null
)
{
props
[
key
]
=
{
default
:
defaults
[
key
]
};
}
else
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
))
{
...
...
@@ -4341,7 +4347,7 @@ const useSSRContext = () => {
};
// Core API ------------------------------------------------------------------
const
version
=
"
3.2.
19
"
;
const
version
=
"
3.2.
20
"
;
/**
* @internal only exposed in compat builds
*/
...
...
@@ -4818,8 +4824,44 @@ function initOptionMergeStrategies(optionMergeStrategies) {
});
}
let
realAtob
;
const
b64
=
'
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
'
;
const
b64re
=
/^
(?:[
A-Za-z
\d
+
/]{4})
*
?(?:[
A-Za-z
\d
+
/]{2}(?:
==
)?
|
[
A-Za-z
\d
+
/]{3}
=
?)?
$/
;
if
(
typeof
atob
!==
'
function
'
)
{
realAtob
=
function
(
str
)
{
str
=
String
(
str
).
replace
(
/
[\t\n\f\r
]
+/g
,
''
);
if
(
!
b64re
.
test
(
str
))
{
throw
new
Error
(
"
Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
"
);
}
// Adding the padding if missing, for semplicity
str
+=
'
==
'
.
slice
(
2
-
(
str
.
length
&
3
));
var
bitmap
;
var
result
=
''
;
var
r1
;
var
r2
;
var
i
=
0
;
for
(;
i
<
str
.
length
;)
{
bitmap
=
(
b64
.
indexOf
(
str
.
charAt
(
i
++
))
<<
18
)
|
(
b64
.
indexOf
(
str
.
charAt
(
i
++
))
<<
12
)
|
((
r1
=
b64
.
indexOf
(
str
.
charAt
(
i
++
)))
<<
6
)
|
(
r2
=
b64
.
indexOf
(
str
.
charAt
(
i
++
)));
result
+=
r1
===
64
?
String
.
fromCharCode
((
bitmap
>>
16
)
&
255
)
:
r2
===
64
?
String
.
fromCharCode
((
bitmap
>>
16
)
&
255
,
(
bitmap
>>
8
)
&
255
)
:
String
.
fromCharCode
((
bitmap
>>
16
)
&
255
,
(
bitmap
>>
8
)
&
255
,
bitmap
&
255
);
}
return
result
;
};
}
else
{
// 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
realAtob
=
atob
;
}
function
b64DecodeUnicode
(
str
)
{
return
decodeURIComponent
(
a
tob
(
str
)
return
decodeURIComponent
(
realA
tob
(
str
)
.
split
(
''
)
.
map
(
function
(
c
)
{
return
'
%
'
+
(
'
00
'
+
c
.
charCodeAt
(
0
).
toString
(
16
)).
slice
(
-
2
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录