Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
15ed6573
U
uni-app
项目概览
DCloud
/
uni-app
6 天 前同步成功
通知
815
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看板
提交
15ed6573
编写于
4月 29, 2024
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(x-ios): build uvue
上级
0bcc3951
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
30 addition
and
17 deletion
+30
-17
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
+11
-6
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
+8
-4
packages/uni-app-vue/lib/uvue.runtime.esm.js
packages/uni-app-vue/lib/uvue.runtime.esm.js
+11
-7
未找到文件。
packages/uni-app-vue/dist/uvue.runtime.esm.dev.js
浏览文件 @
15ed6573
...
...
@@ -2012,7 +2012,8 @@ var flushIndex = 0;
var
pendingPostFlushCbs
=
[];
var
activePostFlushCbs
=
null
;
var
postFlushIndex
=
0
;
var
resolvedPromise
=
/* @__PURE__ */
PromisePolyfill
.
resolve
();
var
isIOS
=
(
"
nativeApp
"
in
getGlobalThis
());
var
resolvedPromise
=
/* @__PURE__ */
(
isIOS
?
PromisePolyfill
:
Promise
).
resolve
();
var
currentFlushPromise
=
null
;
var
RECURSION_LIMIT
=
100
;
function
nextTick
(
fn
)
{
...
...
@@ -5769,9 +5770,10 @@ function validateProp(name, value, prop, props, isAbsent) {
type
,
required
,
validator
,
skipCheck
skipCheck
,
default
:
defaultValue
}
=
prop
;
if
(
required
&&
isAbsent
)
{
if
(
defaultValue
==
null
&&
required
&&
isAbsent
)
{
warn$1
(
'
Missing required prop: "
'
+
name
+
'
"
'
);
return
;
}
...
...
@@ -6916,8 +6918,8 @@ function baseCreateRenderer(options, createHydrationFns) {
}
};
var
processFragment
=
(
n1
,
n2
,
container
,
anchor
,
parentComponent
,
parentSuspense
,
namespace
,
slotScopeIds
,
optimized
)
=>
{
var
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Comment
(
""
,
container
);
var
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Comment
(
""
,
container
);
var
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Text
(
""
,
container
,
true
);
var
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Text
(
""
,
container
,
true
);
var
{
patchFlag
,
dynamicChildren
,
...
...
@@ -9369,7 +9371,10 @@ var nodeOps = {
createElement
:
(
tag
,
container
)
=>
{
return
getDocument
().
createElement
(
tag
);
},
createText
:
(
text
,
container
)
=>
{
createText
:
(
text
,
container
,
isAnchor
)
=>
{
if
(
isAnchor
)
{
return
getDocument
().
createComment
(
text
);
}
var
textNode
=
getDocument
().
createElement
(
"
text
"
);
textNode
.
setAttribute
(
"
value
"
,
text
);
setExtraIsTextNode
(
textNode
,
true
);
...
...
packages/uni-app-vue/dist/uvue.runtime.esm.prod.js
浏览文件 @
15ed6573
...
...
@@ -1879,7 +1879,8 @@ var flushIndex = 0;
var
pendingPostFlushCbs
=
[];
var
activePostFlushCbs
=
null
;
var
postFlushIndex
=
0
;
var
resolvedPromise
=
/* @__PURE__ */
PromisePolyfill
.
resolve
();
var
isIOS
=
(
"
nativeApp
"
in
getGlobalThis
());
var
resolvedPromise
=
/* @__PURE__ */
(
isIOS
?
PromisePolyfill
:
Promise
).
resolve
();
var
currentFlushPromise
=
null
;
function
nextTick
(
fn
)
{
var
instance
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
getCurrentInstance
();
...
...
@@ -5760,8 +5761,8 @@ function baseCreateRenderer(options, createHydrationFns) {
}
};
var
processFragment
=
(
n1
,
n2
,
container
,
anchor
,
parentComponent
,
parentSuspense
,
namespace
,
slotScopeIds
,
optimized
)
=>
{
var
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Comment
(
""
,
container
);
var
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Comment
(
""
,
container
);
var
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Text
(
""
,
container
,
true
);
var
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Text
(
""
,
container
,
true
);
var
{
patchFlag
,
dynamicChildren
,
...
...
@@ -7820,7 +7821,10 @@ var nodeOps = {
createElement
:
(
tag
,
container
)
=>
{
return
getDocument
().
createElement
(
tag
);
},
createText
:
(
text
,
container
)
=>
{
createText
:
(
text
,
container
,
isAnchor
)
=>
{
if
(
isAnchor
)
{
return
getDocument
().
createComment
(
text
);
}
var
textNode
=
getDocument
().
createElement
(
"
text
"
);
textNode
.
setAttribute
(
"
value
"
,
text
);
setExtraIsTextNode
(
textNode
,
true
);
...
...
packages/uni-app-vue/lib/uvue.runtime.esm.js
浏览文件 @
15ed6573
...
...
@@ -3,7 +3,7 @@
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
import
{
isString
,
isFunction
,
isPromise
,
isArray
,
NOOP
,
getGlobalThis
,
extend
as
extend$1
,
EMPTY_OBJ
,
toHandlerKey
,
looseToNumber
,
hyphenate
,
camelize
,
isObject
,
isOn
,
hasOwn
,
isModelListener
,
capitalize
,
toNumber
,
hasChanged
,
remove
,
isSet
,
isMap
,
isPlainObject
,
isBuiltInDirective
,
invokeArrayFns
,
isRegExp
,
isGloballyAllowed
,
NO
,
def
,
isReservedProp
,
EMPTY_ARR
,
toRawType
,
makeMap
,
normalizeClass
,
stringifyStyle
,
normalizeStyle
,
isKnownSvgAttr
,
isBooleanAttr
,
isKnownHtmlAttr
,
includeBooleanAttr
,
isRenderableAttrValue
,
parseStringStyle
}
from
'
@vue/shared
'
;
import
{
isString
,
isFunction
,
isPromise
,
getGlobalThis
,
isArray
,
NOOP
,
extend
as
extend$1
,
EMPTY_OBJ
,
toHandlerKey
,
looseToNumber
,
hyphenate
,
camelize
,
isObject
,
isOn
,
hasOwn
,
isModelListener
,
capitalize
,
toNumber
,
hasChanged
,
remove
,
isSet
,
isMap
,
isPlainObject
,
isBuiltInDirective
,
invokeArrayFns
,
isRegExp
,
isGloballyAllowed
,
NO
,
def
,
isReservedProp
,
EMPTY_ARR
,
toRawType
,
makeMap
,
normalizeClass
,
stringifyStyle
,
normalizeStyle
,
isKnownSvgAttr
,
isBooleanAttr
,
isKnownHtmlAttr
,
includeBooleanAttr
,
isRenderableAttrValue
,
parseStringStyle
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
hyphenate
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
,
isReactive
,
ReactiveEffect
,
getCurrentScope
,
ref
,
shallowReadonly
,
track
,
reactive
,
shallowReactive
,
trigger
,
isProxy
,
proxyRefs
,
markRaw
,
EffectScope
,
computed
as
computed$1
,
customRef
,
isReadonly
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
TrackOpTypes
,
TriggerOpTypes
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
toValue
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
...
...
@@ -278,7 +278,8 @@ let flushIndex = 0;
const
pendingPostFlushCbs
=
[];
let
activePostFlushCbs
=
null
;
let
postFlushIndex
=
0
;
const
resolvedPromise
=
/* @__PURE__ */
PromisePolyfill
.
resolve
();
const
isIOS
=
"
nativeApp
"
in
getGlobalThis
();
const
resolvedPromise
=
/* @__PURE__ */
(
isIOS
?
PromisePolyfill
:
Promise
).
resolve
();
let
currentFlushPromise
=
null
;
const
RECURSION_LIMIT
=
100
;
function
nextTick
(
fn
,
instance
=
getCurrentInstance
())
{
...
...
@@ -4379,8 +4380,8 @@ function validateProps(rawProps, props, instance) {
}
}
function
validateProp
(
name
,
value
,
prop
,
props
,
isAbsent
)
{
const
{
type
,
required
,
validator
,
skipCheck
}
=
prop
;
if
(
required
&&
isAbsent
)
{
const
{
type
,
required
,
validator
,
skipCheck
,
default
:
defaultValue
}
=
prop
;
if
(
defaultValue
==
null
&&
required
&&
isAbsent
)
{
warn$1
(
'
Missing required prop: "
'
+
name
+
'
"
'
);
return
;
}
...
...
@@ -5897,8 +5898,8 @@ function baseCreateRenderer(options, createHydrationFns) {
}
};
const
processFragment
=
(
n1
,
n2
,
container
,
anchor
,
parentComponent
,
parentSuspense
,
namespace
,
slotScopeIds
,
optimized
)
=>
{
const
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Comment
(
""
,
container
);
const
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Comment
(
""
,
container
);
const
fragmentStartAnchor
=
n2
.
el
=
n1
?
n1
.
el
:
hostCreate
Text
(
""
,
container
,
true
);
const
fragmentEndAnchor
=
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreate
Text
(
""
,
container
,
true
);
let
{
patchFlag
,
dynamicChildren
,
slotScopeIds
:
fragmentSlotScopeIds
}
=
n2
;
if
(
!!
(
process
.
env
.
NODE_ENV
!==
"
production
"
)
&&
// #5523 dev root fragment may inherit directives
(
isHmrUpdating
||
patchFlag
&
2048
))
{
...
...
@@ -8663,7 +8664,10 @@ const nodeOps = {
createElement
:
(
tag
,
container
)
=>
{
return
getDocument
().
createElement
(
tag
);
},
createText
:
(
text
,
container
)
=>
{
createText
:
(
text
,
container
,
isAnchor
)
=>
{
if
(
isAnchor
)
{
return
getDocument
().
createComment
(
text
);
}
const
textNode
=
getDocument
().
createElement
(
"
text
"
);
textNode
.
setAttribute
(
"
value
"
,
text
);
setExtraIsTextNode
(
textNode
,
true
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录