Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
67c553db
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看板
提交
67c553db
编写于
11月 21, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(app): devtoolsInitApp
上级
f794cdf8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
15 addition
and
5 deletion
+15
-5
packages/uni-app-vue/build.json
packages/uni-app-vue/build.json
+1
-1
packages/uni-app-vue/dist/vue.runtime.esm.dev.js
packages/uni-app-vue/dist/vue.runtime.esm.dev.js
+6
-1
packages/uni-app-vue/dist/vue.runtime.esm.prod.js
packages/uni-app-vue/dist/vue.runtime.esm.prod.js
+1
-1
packages/uni-app-vue/lib/service.runtime.esm.js
packages/uni-app-vue/lib/service.runtime.esm.js
+7
-2
未找到文件。
packages/uni-app-vue/build.json
浏览文件 @
67c553db
...
...
@@ -8,7 +8,7 @@
},
"replacements"
:
{
"__VUE_OPTIONS_API__"
:
"true"
,
"__VUE_PROD_DEVTOOLS__"
:
"
fals
e"
,
"__VUE_PROD_DEVTOOLS__"
:
"
tru
e"
,
"process.env.NODE_ENV"
:
"
\"
development
\"
"
},
"external"
:
[
"@vue/shared"
,
"@vue/reactivity"
,
"@dcloudio/uni-shared"
],
...
...
packages/uni-app-vue/dist/vue.runtime.esm.dev.js
浏览文件 @
67c553db
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
JSON_PROTOCOL
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
}
from
'
@dcloudio/uni-shared
'
;
import
{
isString
,
isFunction
,
isPromise
,
isArray
,
getGlobalThis
,
NOOP
,
EMPTY_OBJ
,
remove
,
toHandlerKey
,
camelize
,
capitalize
,
isObject
,
extend
,
normalizeClass
,
normalizeStyle
,
isOn
,
hasChanged
,
toNumber
,
hyphenate
,
isHTMLTag
,
isSVGTag
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
EMPTY_ARR
,
NO
,
isModelListener
,
isBuiltInDirective
,
hasOwn
,
isReservedProp
,
makeMap
,
def
,
toRawType
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
computed
as
computed$1
,
shallowReadonly
,
proxyRefs
,
markRaw
,
isReadonly
,
track
,
EffectScope
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
JSON_PROTOCOL
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
}
from
'
@dcloudio/uni-shared
'
;
var
stack
=
[];
function
pushWarningContext
(
vnode
)
{
stack
.
push
(
vnode
);
...
...
@@ -8636,6 +8636,11 @@ var createApp = function () {
}
=
app
;
app
.
mount
=
container
=>
{
if
(
isString
(
container
))
{
{
if
(
container
===
'
#app
'
)
{
devtoolsInitApp
(
app
,
version
);
}
}
container
=
createComment
(
container
);
}
return
container
&&
mount
(
container
,
false
,
false
);
...
...
packages/uni-app-vue/dist/vue.runtime.esm.prod.js
浏览文件 @
67c553db
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
JSON_PROTOCOL
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
}
from
'
@dcloudio/uni-shared
'
;
import
{
isFunction
,
isPromise
,
isArray
,
NOOP
,
EMPTY_OBJ
,
remove
,
isString
,
camelize
,
capitalize
,
isObject
,
toHandlerKey
,
getGlobalThis
,
normalizeClass
,
extend
,
normalizeStyle
,
isOn
,
hasChanged
,
toNumber
,
hyphenate
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
EMPTY_ARR
,
isModelListener
,
isReservedProp
,
hasOwn
,
def
,
NO
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
isRef
,
isShallow
,
isReactive
,
ReactiveEffect
,
ref
,
pauseTracking
,
resetTracking
,
isProxy
,
computed
as
computed$1
,
toRaw
,
proxyRefs
,
markRaw
,
EffectScope
,
track
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
JSON_PROTOCOL
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
}
from
'
@dcloudio/uni-shared
'
;
function
warn
(
msg
)
{
return
;
}
...
...
packages/uni-app-vue/lib/service.runtime.esm.js
浏览文件 @
67c553db
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
JSON_PROTOCOL
,
forcePatchProp
}
from
'
@dcloudio/uni-shared
'
;
import
{
isString
,
isFunction
,
isPromise
,
isArray
,
NOOP
,
getGlobalThis
,
extend
,
EMPTY_OBJ
,
toHandlerKey
,
toNumber
,
hyphenate
,
camelize
,
isObject
,
isOn
,
hasOwn
,
isModelListener
,
hasChanged
,
remove
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
isBuiltInDirective
,
capitalize
,
isGloballyWhitelisted
,
def
,
isReservedProp
,
EMPTY_ARR
,
toRawType
,
makeMap
,
NO
,
normalizeClass
,
normalizeStyle
,
isHTMLTag
,
isSVGTag
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
shallowReadonly
,
track
,
reactive
,
shallowReactive
,
trigger
,
isProxy
,
EffectScope
,
markRaw
,
proxyRefs
,
computed
as
computed$1
,
isReadonly
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isRootHook
,
isRootImmediateHook
,
ON_LOAD
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
JSON_PROTOCOL
,
forcePatchProp
}
from
'
@dcloudio/uni-shared
'
;
const
stack
=
[];
function
pushWarningContext
(
vnode
)
{
...
...
@@ -1812,7 +1812,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
// pass undefined as the old value when it's changed for the first time
oldValue
===
INITIAL_WATCHER_VALUE
?
undefined
:
(
isMultiSource
&&
oldValue
[
0
]
===
INITIAL_WATCHER_VALUE
)
:
isMultiSource
&&
oldValue
[
0
]
===
INITIAL_WATCHER_VALUE
?
[]
:
oldValue
,
onCleanup
...
...
@@ -8858,6 +8858,11 @@ const createApp = ((...args) => {
const
{
mount
}
=
app
;
app
.
mount
=
(
container
)
=>
{
if
(
isString
(
container
))
{
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
)
||
__VUE_PROD_DEVTOOLS__
)
{
if
(
container
===
'
#app
'
)
{
devtoolsInitApp
(
app
,
version
);
}
}
container
=
createComment
(
container
);
}
return
container
&&
mount
(
container
,
false
,
false
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录