Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小浣熊撸代码
uni-app
提交
7c3b4346
U
uni-app
项目概览
小浣熊撸代码
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7c3b4346
编写于
4月 24, 2020
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build:all
上级
7847267d
变更
11
展开全部
显示空白变更内容
内联
并排
Showing
11 changed file
with
59 addition
and
30 deletion
+59
-30
packages/uni-app-plus/dist/index.js
packages/uni-app-plus/dist/index.js
+8
-3
packages/uni-app-plus/dist/view.umd.min.js
packages/uni-app-plus/dist/view.umd.min.js
+2
-2
packages/uni-h5/dist/index.umd.min.js
packages/uni-h5/dist/index.umd.min.js
+1
-1
packages/uni-mp-alipay/dist/index.js
packages/uni-mp-alipay/dist/index.js
+6
-7
packages/uni-mp-baidu/dist/index.js
packages/uni-mp-baidu/dist/index.js
+8
-3
packages/uni-mp-qq/dist/index.js
packages/uni-mp-qq/dist/index.js
+8
-3
packages/uni-mp-toutiao/dist/index.js
packages/uni-mp-toutiao/dist/index.js
+8
-3
packages/uni-mp-weixin/dist/index.js
packages/uni-mp-weixin/dist/index.js
+8
-3
packages/uni-quickapp-light/dist/index.js
packages/uni-quickapp-light/dist/index.js
+8
-3
packages/uni-quickapp-vue/dist/vue.dev.js
packages/uni-quickapp-vue/dist/vue.dev.js
+1
-1
packages/uni-quickapp-vue/dist/vue.prod.js
packages/uni-quickapp-vue/dist/vue.prod.js
+1
-1
未找到文件。
packages/uni-app-plus/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -698,10 +698,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -897,11 +897,12 @@ function wrapper$2 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1386,6 +1387,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-app-plus/dist/view.umd.min.js
浏览文件 @
7c3b4346
此差异已折叠。
点击以展开。
packages/uni-h5/dist/index.umd.min.js
浏览文件 @
7c3b4346
此差异已折叠。
点击以展开。
packages/uni-mp-alipay/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -1167,10 +1167,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -1356,11 +1356,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1808,10 +1809,8 @@ function initSpecialMethods (mpInstance) {
specialMethods
.
forEach
(
method
=>
{
if
(
isFn
(
mpInstance
.
$vm
[
method
]))
{
mpInstance
[
method
]
=
function
(
event
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
// TODO normalizeEvent
...
...
packages/uni-mp-baidu/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -812,10 +812,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -1027,11 +1027,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1522,6 +1523,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-mp-qq/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -753,10 +753,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -952,11 +952,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1445,6 +1446,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-mp-toutiao/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -845,10 +845,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -1044,11 +1044,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1610,6 +1611,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-mp-weixin/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -710,10 +710,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -909,11 +909,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1398,6 +1399,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-quickapp-light/dist/index.js
浏览文件 @
7c3b4346
...
...
@@ -694,10 +694,10 @@ function initVueComponent (Vue, vueOptions) {
let
VueComponent
;
if
(
isFn
(
vueOptions
))
{
VueComponent
=
vueOptions
;
vueOptions
=
VueComponent
.
extendOptions
;
}
else
{
VueComponent
=
Vue
.
extend
(
vueOptions
);
}
vueOptions
=
VueComponent
.
options
;
return
[
VueComponent
,
vueOptions
]
}
...
...
@@ -893,11 +893,12 @@ function wrapper$1 (event) {
event
.
target
=
event
.
target
||
{};
if
(
!
hasOwn
(
event
,
'
detail
'
)
||
!
event
.
detail
)
{
if
(
!
hasOwn
(
event
,
'
detail
'
))
{
event
.
detail
=
{};
}
if
(
!
(
'
markerId
'
in
event
.
detail
)
&&
'
markerId
'
in
event
)
{
if
(
hasOwn
(
event
,
'
markerId
'
))
{
event
.
detail
=
typeof
event
.
detail
===
'
object
'
?
event
.
detail
:
{};
event
.
detail
.
markerId
=
event
.
markerId
;
}
...
...
@@ -1440,6 +1441,10 @@ function parseBaseComponent (vueComponentOptions, {
__e
:
handleEvent
}
};
// externalClasses
if
(
vueOptions
.
externalClasses
)
{
componentOptions
.
externalClasses
=
vueOptions
.
externalClasses
;
}
if
(
Array
.
isArray
(
vueOptions
.
wxsCallMethods
))
{
vueOptions
.
wxsCallMethods
.
forEach
(
callMethod
=>
{
...
...
packages/uni-quickapp-vue/dist/vue.dev.js
浏览文件 @
7c3b4346
此差异已折叠。
点击以展开。
packages/uni-quickapp-vue/dist/vue.prod.js
浏览文件 @
7c3b4346
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录