Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
f499710e
U
uni-app
项目概览
DCloud
/
uni-app
14 天 前同步成功
通知
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看板
提交
f499710e
编写于
1月 11, 2024
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
d0d9736f
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
2329 addition
and
1538 deletion
+2329
-1538
packages/uni-app-plus/dist/style.css
packages/uni-app-plus/dist/style.css
+1
-1
packages/uni-app-plus/dist/uni.x.runtime.esm.js
packages/uni-app-plus/dist/uni.x.runtime.esm.js
+2286
-1529
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
+21
-4
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
+21
-4
未找到文件。
packages/uni-app-plus/dist/style.css
浏览文件 @
f499710e
此差异已折叠。
点击以展开。
packages/uni-app-plus/dist/uni.x.runtime.esm.js
浏览文件 @
f499710e
此差异已折叠。
点击以展开。
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
浏览文件 @
f499710e
...
...
@@ -1569,8 +1569,20 @@ var resolvedPromise = /*#__PURE__*/Promise.resolve();
var
currentFlushPromise
=
null
;
var
RECURSION_LIMIT
=
100
;
function
nextTick
(
fn
)
{
var
p
=
currentFlushPromise
||
resolvedPromise
;
return
fn
?
p
.
then
(
this
?
fn
.
bind
(
this
)
:
fn
)
:
p
;
var
instance
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
getCurrentInstance
();
var
promise
=
currentFlushPromise
||
resolvedPromise
;
var
current
=
currentFlushPromise
===
null
||
instance
===
null
?
promise
:
promise
.
then
(()
=>
{
return
new
Promise
(
resolve
=>
{
if
(
instance
===
null
)
{
resolve
();
}
else
{
instance
.
$waitNativeRender
(()
=>
{
resolve
();
});
}
});
});
return
fn
?
current
.
then
(
this
?
fn
.
bind
(
this
)
:
fn
)
:
current
;
}
// #2768
// Use binary-search to find a suitable position in the queue,
...
...
@@ -5749,7 +5761,8 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode) {
// because the template ref is forwarded to inner component
return
;
}
var
refValue
=
vnode
.
shapeFlag
&
4
/* ShapeFlags.STATEFUL_COMPONENT */
?
getExposeProxy
(
vnode
.
component
)
||
vnode
.
component
.
proxy
:
vnode
.
el
;
var
refValue
=
vnode
.
shapeFlag
&
4
/* ShapeFlags.STATEFUL_COMPONENT */
&&
!
vnode
.
component
.
type
.
rootElement
// fixed by xxxxxx 非 x 项目或者非内置组件
?
getExposeProxy
(
vnode
.
component
)
||
vnode
.
component
.
proxy
:
vnode
.
el
;
var
value
=
isUnmount
?
null
:
refValue
;
var
{
i
:
owner
,
...
...
@@ -8379,7 +8392,11 @@ function createComponentInstance(vnode, parent, suspense) {
rtg
:
null
,
rtc
:
null
,
ec
:
null
,
sp
:
null
sp
:
null
,
$waitNativeRender
(
fn
)
{
// TODO use native
setTimeout
(
fn
,
150
);
}
};
{
instance
.
ctx
=
createDevRenderContext
(
instance
);
...
...
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
浏览文件 @
f499710e
...
...
@@ -1336,8 +1336,20 @@ var postFlushIndex = 0;
var
resolvedPromise
=
/*#__PURE__*/
Promise
.
resolve
();
var
currentFlushPromise
=
null
;
function
nextTick
(
fn
)
{
var
p
=
currentFlushPromise
||
resolvedPromise
;
return
fn
?
p
.
then
(
this
?
fn
.
bind
(
this
)
:
fn
)
:
p
;
var
instance
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
getCurrentInstance
();
var
promise
=
currentFlushPromise
||
resolvedPromise
;
var
current
=
currentFlushPromise
===
null
||
instance
===
null
?
promise
:
promise
.
then
(()
=>
{
return
new
Promise
(
resolve
=>
{
if
(
instance
===
null
)
{
resolve
();
}
else
{
instance
.
$waitNativeRender
(()
=>
{
resolve
();
});
}
});
});
return
fn
?
current
.
then
(
this
?
fn
.
bind
(
this
)
:
fn
)
:
current
;
}
// #2768
// Use binary-search to find a suitable position in the queue,
...
...
@@ -4672,7 +4684,8 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode) {
// because the template ref is forwarded to inner component
return
;
}
var
refValue
=
vnode
.
shapeFlag
&
4
/* ShapeFlags.STATEFUL_COMPONENT */
?
getExposeProxy
(
vnode
.
component
)
||
vnode
.
component
.
proxy
:
vnode
.
el
;
var
refValue
=
vnode
.
shapeFlag
&
4
/* ShapeFlags.STATEFUL_COMPONENT */
&&
!
vnode
.
component
.
type
.
rootElement
// fixed by xxxxxx 非 x 项目或者非内置组件
?
getExposeProxy
(
vnode
.
component
)
||
vnode
.
component
.
proxy
:
vnode
.
el
;
var
value
=
isUnmount
?
null
:
refValue
;
var
{
i
:
owner
,
...
...
@@ -7011,7 +7024,11 @@ function createComponentInstance(vnode, parent, suspense) {
rtg
:
null
,
rtc
:
null
,
ec
:
null
,
sp
:
null
sp
:
null
,
$waitNativeRender
(
fn
)
{
// TODO use native
setTimeout
(
fn
,
150
);
}
};
{
instance
.
ctx
=
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录