Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qianlong66
uni-app
提交
5c11434f
U
uni-app
项目概览
qianlong66
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
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,发现更多精彩内容 >>
提交
5c11434f
编写于
4月 13, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build(deps): bump vue from 3.2.31 to 3.2.32
上级
d060e5dc
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
52 addition
and
16 deletion
+52
-16
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
+28
-10
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
+24
-6
未找到文件。
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
浏览文件 @
5c11434f
...
...
@@ -2039,13 +2039,13 @@ function watchEffect(effect, options) {
}
function
watchPostEffect
(
effect
,
options
)
{
return
doWatch
(
effect
,
null
,
Object
.
assign
(
options
||
{}
,
{
return
doWatch
(
effect
,
null
,
Object
.
assign
(
Object
.
assign
({},
options
)
,
{
flush
:
'
post
'
}));
}
function
watchSyncEffect
(
effect
,
options
)
{
return
doWatch
(
effect
,
null
,
Object
.
assign
(
options
||
{}
,
{
return
doWatch
(
effect
,
null
,
Object
.
assign
(
Object
.
assign
({},
options
)
,
{
flush
:
'
sync
'
}));
}
// initial value for watchers to trigger on undefined initial values
...
...
@@ -2679,20 +2679,25 @@ function setTransitionHooks(vnode, hooks) {
function
getTransitionRawChildren
(
children
)
{
var
keepComment
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
false
;
var
parentKey
=
arguments
.
length
>
2
?
arguments
[
2
]
:
undefined
;
var
ret
=
[];
var
keyedFragmentCount
=
0
;
for
(
var
i
=
0
;
i
<
children
.
length
;
i
++
)
{
var
child
=
children
[
i
];
// handle fragment children case, e.g. v-for
var
child
=
children
[
i
];
// #5360 inherit parent key in case of <template v-for>
var
key
=
parentKey
==
null
?
child
.
key
:
String
(
parentKey
)
+
String
(
child
.
key
!=
null
?
child
.
key
:
i
);
// handle fragment children case, e.g. v-for
if
(
child
.
type
===
Fragment
)
{
if
(
child
.
patchFlag
&
128
/* KEYED_FRAGMENT */
)
keyedFragmentCount
++
;
ret
=
ret
.
concat
(
getTransitionRawChildren
(
child
.
children
,
keepComment
));
ret
=
ret
.
concat
(
getTransitionRawChildren
(
child
.
children
,
keepComment
,
key
));
}
// comment placeholders should be skipped, e.g. v-if
else
if
(
keepComment
||
child
.
type
!==
Comment
)
{
ret
.
push
(
child
);
ret
.
push
(
key
!=
null
?
cloneVNode
(
child
,
{
key
})
:
child
);
}
}
// #1126 if a transition children list contains multiple sub fragments, these
// fragments will be merged into a flat children array. Since each v-for
...
...
@@ -3930,7 +3935,12 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
var
propsToUpdate
=
instance
.
vnode
.
dynamicProps
;
for
(
var
i
=
0
;
i
<
propsToUpdate
.
length
;
i
++
)
{
var
key
=
propsToUpdate
[
i
];
// PROPS flag guarantees rawProps to be non-null
var
key
=
propsToUpdate
[
i
];
// skip if the prop key is a declared emit event listener
if
(
isEmitListener
(
instance
.
emitsOptions
,
key
))
{
continue
;
}
// PROPS flag guarantees rawProps to be non-null
var
value
=
rawProps
[
key
];
...
...
@@ -4540,7 +4550,7 @@ function withDirectives(vnode, directives) {
return
vnode
;
}
var
instance
=
internalInstance
.
proxy
;
var
instance
=
getExposeProxy
(
internalInstance
)
||
internalInstance
.
proxy
;
var
bindings
=
vnode
.
dirs
||
(
vnode
.
dirs
=
[]);
for
(
var
i
=
0
;
i
<
directives
.
length
;
i
++
)
{
...
...
@@ -4623,6 +4633,10 @@ function createAppAPI(render, hydrate) {
return
function
createApp
(
rootComponent
)
{
var
rootProps
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
null
;
if
(
!
isFunction
(
rootComponent
))
{
rootComponent
=
Object
.
assign
({},
rootComponent
);
}
if
(
rootProps
!=
null
&&
!
isObject
(
rootProps
))
{
warn
(
"
root props passed to app.mount() must be an object.
"
);
rootProps
=
null
;
...
...
@@ -4844,6 +4858,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode) {
if
(
!
isArray
(
existing
))
{
if
(
_isString
)
{
refs
[
ref
]
=
[
refValue
];
if
(
hasOwn
(
setupState
,
ref
))
{
setupState
[
ref
]
=
refs
[
ref
];
}
}
else
{
ref
.
value
=
[
refValue
];
if
(
rawRef
.
k
)
refs
[
rawRef
.
k
]
=
ref
.
value
;
...
...
@@ -5279,7 +5297,7 @@ function startMeasure(instance, type) {
}
{
devtoolsPerfStart
(
instance
,
type
,
supported
?
perf
.
now
()
:
Date
.
now
());
devtoolsPerfStart
(
instance
,
type
,
isSupported
()
?
perf
.
now
()
:
Date
.
now
());
}
}
...
...
@@ -5294,7 +5312,7 @@ function endMeasure(instance, type) {
}
{
devtoolsPerfEnd
(
instance
,
type
,
supported
?
perf
.
now
()
:
Date
.
now
());
devtoolsPerfEnd
(
instance
,
type
,
isSupported
()
?
perf
.
now
()
:
Date
.
now
());
}
}
...
...
@@ -9256,7 +9274,7 @@ function isMemoSame(cached, memo) {
}
// Core API ------------------------------------------------------------------
var
version
=
"
3.2.3
1
"
;
var
version
=
"
3.2.3
2
"
;
/**
* @internal only exposed in compat builds
*/
...
...
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
浏览文件 @
5c11434f
...
...
@@ -2080,20 +2080,25 @@ function setTransitionHooks(vnode, hooks) {
function
getTransitionRawChildren
(
children
)
{
var
keepComment
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
false
;
var
parentKey
=
arguments
.
length
>
2
?
arguments
[
2
]
:
undefined
;
var
ret
=
[];
var
keyedFragmentCount
=
0
;
for
(
var
i
=
0
;
i
<
children
.
length
;
i
++
)
{
var
child
=
children
[
i
];
// handle fragment children case, e.g. v-for
var
child
=
children
[
i
];
// #5360 inherit parent key in case of <template v-for>
var
key
=
parentKey
==
null
?
child
.
key
:
String
(
parentKey
)
+
String
(
child
.
key
!=
null
?
child
.
key
:
i
);
// handle fragment children case, e.g. v-for
if
(
child
.
type
===
Fragment
)
{
if
(
child
.
patchFlag
&
128
/* KEYED_FRAGMENT */
)
keyedFragmentCount
++
;
ret
=
ret
.
concat
(
getTransitionRawChildren
(
child
.
children
,
keepComment
));
ret
=
ret
.
concat
(
getTransitionRawChildren
(
child
.
children
,
keepComment
,
key
));
}
// comment placeholders should be skipped, e.g. v-if
else
if
(
keepComment
||
child
.
type
!==
Comment
)
{
ret
.
push
(
child
);
ret
.
push
(
key
!=
null
?
cloneVNode
(
child
,
{
key
})
:
child
);
}
}
// #1126 if a transition children list contains multiple sub fragments, these
// fragments will be merged into a flat children array. Since each v-for
...
...
@@ -3204,7 +3209,12 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
var
propsToUpdate
=
instance
.
vnode
.
dynamicProps
;
for
(
var
i
=
0
;
i
<
propsToUpdate
.
length
;
i
++
)
{
var
key
=
propsToUpdate
[
i
];
// PROPS flag guarantees rawProps to be non-null
var
key
=
propsToUpdate
[
i
];
// skip if the prop key is a declared emit event listener
if
(
isEmitListener
(
instance
.
emitsOptions
,
key
))
{
continue
;
}
// PROPS flag guarantees rawProps to be non-null
var
value
=
rawProps
[
key
];
...
...
@@ -3611,7 +3621,7 @@ function withDirectives(vnode, directives) {
return
vnode
;
}
var
instance
=
internalInstance
.
proxy
;
var
instance
=
getExposeProxy
(
internalInstance
)
||
internalInstance
.
proxy
;
var
bindings
=
vnode
.
dirs
||
(
vnode
.
dirs
=
[]);
for
(
var
i
=
0
;
i
<
directives
.
length
;
i
++
)
{
...
...
@@ -3694,6 +3704,10 @@ function createAppAPI(render, hydrate) {
return
function
createApp
(
rootComponent
)
{
var
rootProps
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
null
;
if
(
!
isFunction
(
rootComponent
))
{
rootComponent
=
Object
.
assign
({},
rootComponent
);
}
if
(
rootProps
!=
null
&&
!
isObject
(
rootProps
))
{
rootProps
=
null
;
}
...
...
@@ -3859,6 +3873,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode) {
if
(
!
isArray
(
existing
))
{
if
(
_isString
)
{
refs
[
ref
]
=
[
refValue
];
if
(
hasOwn
(
setupState
,
ref
))
{
setupState
[
ref
]
=
refs
[
ref
];
}
}
else
{
ref
.
value
=
[
refValue
];
if
(
rawRef
.
k
)
refs
[
rawRef
.
k
]
=
ref
.
value
;
...
...
@@ -7523,7 +7541,7 @@ function isMemoSame(cached, memo) {
}
// Core API ------------------------------------------------------------------
var
version
=
"
3.2.3
1
"
;
var
version
=
"
3.2.3
2
"
;
/**
* @internal only exposed in compat builds
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录