Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
59acd63b
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看板
提交
59acd63b
编写于
6月 24, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
48e3a670
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
35 addition
and
11 deletion
+35
-11
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+1
-1
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+5
-2
packages/uni-components/dist/components.js
packages/uni-components/dist/components.js
+2
-1
packages/uni-h5/dist/uni-h5.cjs.js
packages/uni-h5/dist/uni-h5.cjs.js
+3
-1
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+5
-2
packages/uni-mp-baidu/dist/uni.mp.esm.js
packages/uni-mp-baidu/dist/uni.mp.esm.js
+8
-1
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
+8
-1
packages/uni-mp-vue/dist/vue.runtime.esm.js
packages/uni-mp-vue/dist/vue.runtime.esm.js
+3
-2
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
59acd63b
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
59acd63b
...
...
@@ -18085,10 +18085,13 @@ const navigateBack = defineAsyncApi(API_NAVIGATE_BACK, (args, { resolve, reject
else if (isDirectPage(page)) {
reLaunchEntryPage();
}
else {
else
if (args)
{
const { delta, animationType, animationDuration } = args;
back(delta, animationType, animationDuration);
}
else {
back();
}
return resolve();
}, NavigateBackProtocol, NavigateBackOptions);
let firstBackTime = 0;
...
...
@@ -18105,7 +18108,7 @@ function quit() {
plus.runtime.quit();
}
}
function back(delta, animationType, animationDuration) {
function back(delta
= 1
, animationType, animationDuration) {
const pages = getCurrentPages();
const len = pages.length;
const currentPage = pages[len - 1];
...
...
packages/uni-components/dist/components.js
浏览文件 @
59acd63b
...
...
@@ -3220,7 +3220,8 @@ var Switch = defineComponent({
},
[
type
===
SwitchType
.
switch
?
createVNode
(
"
dc-switch
"
,
mergeProps
({
dataUncType
:
"
uni-switch
"
},
listeners
,
{
checked
:
switchChecked
.
value
checked
:
switchChecked
.
value
,
color
},
{
"
style
"
:
DCSwitchSize
}),
null
)
:
null
,
type
===
SwitchType
.
checkbox
?
createVNode
(
resolveComponent
(
"
checkbox
"
),
mergeProps
({
...
...
packages/uni-h5/dist/uni-h5.cjs.js
浏览文件 @
59acd63b
...
...
@@ -8112,7 +8112,9 @@ var MapMarker = /* @__PURE__ */ defineSystemComponent({
}
if
(
id
)
{
trigger
(
"
markertap
"
,
{},
{
markerId
:
Number
(
id
)
markerId
:
Number
(
id
),
latitude
:
props3
.
latitude
,
longitude
:
props3
.
longitude
});
}
});
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
59acd63b
...
...
@@ -15756,7 +15756,9 @@ var MapMarker = /* @__PURE__ */ defineSystemComponent({
}
if (id2) {
trigger("markertap", {}, {
markerId: Number(id2)
markerId: Number(id2),
latitude: props3.latitude,
longitude: props3.longitude
});
}
});
...
...
@@ -18733,7 +18735,7 @@ const navigateBack = /* @__PURE__ */ defineAsyncApi(API_NAVIGATE_BACK, (args, {
if (!canBack) {
return reject(ON_BACK_PRESS);
}
getApp().$router.go(
-args.delta
);
getApp().$router.go(
args && args.delta ? -args.delta : -1
);
return resolve();
}, NavigateBackProtocol, NavigateBackOptions);
function navigate({ type, url, events }, __id__) {
...
...
@@ -20766,6 +20768,7 @@ function useMap(props2, rootRef, emit2) {
emitBoundsReady();
});
maps2.event.addListener(map2, "click", () => {
trigger("tap", {}, {});
trigger("click", {}, {});
});
maps2.event.addListener(map2, "dragstart", () => {
...
...
packages/uni-mp-baidu/dist/uni.mp.esm.js
浏览文件 @
59acd63b
...
...
@@ -387,7 +387,14 @@ function handleEvent(event) {
// 快手小程序的 __l 方法也会走此处逻辑,但没有 __ins__
if
(
__ins__
)
{
// 自定义事件,通过 triggerEvent 传递 __ins__
methodName
=
resolveMethodName
(
type
,
__ins__
.
properties
[
EVENT_OPTS
]
||
{});
let
eventObj
=
{};
try
{
// https://github.com/dcloudio/uni-app/issues/3647
// 通过字符串序列化解决百度小程序修改对象不触发组件properties变化的Bug
eventObj
=
JSON
.
parse
(
__ins__
.
properties
[
EVENT_OPTS
]);
}
catch
(
e
)
{
}
methodName
=
resolveMethodName
(
type
,
eventObj
);
}
else
if
(
dataset
&&
dataset
[
EVENT_OPTS
])
{
// 快手小程序 input 等内置组件的 input 事件也会走此逻辑,所以从 dataset 中读取
...
...
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
浏览文件 @
59acd63b
...
...
@@ -387,7 +387,14 @@ function handleEvent(event) {
// 快手小程序的 __l 方法也会走此处逻辑,但没有 __ins__
if
(
__ins__
)
{
// 自定义事件,通过 triggerEvent 传递 __ins__
methodName
=
resolveMethodName
(
type
,
__ins__
.
properties
[
EVENT_OPTS
]
||
{});
let
eventObj
=
{};
try
{
// https://github.com/dcloudio/uni-app/issues/3647
// 通过字符串序列化解决百度小程序修改对象不触发组件properties变化的Bug
eventObj
=
JSON
.
parse
(
__ins__
.
properties
[
EVENT_OPTS
]);
}
catch
(
e
)
{
}
methodName
=
resolveMethodName
(
type
,
eventObj
);
}
else
if
(
dataset
&&
dataset
[
EVENT_OPTS
])
{
// 快手小程序 input 等内置组件的 input 事件也会走此逻辑,所以从 dataset 中读取
...
...
packages/uni-mp-vue/dist/vue.runtime.esm.js
浏览文件 @
59acd63b
...
...
@@ -5710,7 +5710,8 @@ const n = (value) => normalizeClass(value);
const
t
=
(
val
)
=>
toDisplayString
(
val
);
const
p
=
(
props
)
=>
renderProps
(
props
);
const
sr
=
(
ref
,
id
,
opts
)
=>
setRef
(
ref
,
id
,
opts
);
const
m
=
(
fn
,
modifiers
,
isComponent
=
false
)
=>
withModelModifiers
(
fn
,
modifiers
,
isComponent
);
const
m
=
(
fn
,
modifiers
,
isComponent
=
false
)
=>
withModelModifiers
(
fn
,
modifiers
,
isComponent
);
const
j
=
(
obj
)
=>
JSON
.
stringify
(
obj
);
function
createApp
(
rootComponent
,
rootProps
=
null
)
{
rootComponent
&&
(
rootComponent
.
mpType
=
'
app
'
);
...
...
@@ -5718,4 +5719,4 @@ function createApp(rootComponent, rootProps = null) {
}
const
createSSRApp
=
createApp
;
export
{
EffectScope
,
Fragment
,
ReactiveEffect
,
Text
,
c
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
computed$1
as
computed
,
createApp
,
createSSRApp
,
createVNode$1
as
createVNode
,
createVueApp
,
customRef
,
d
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
diff
,
e
,
effect
,
effectScope
,
f
,
findComponentPropsData
,
getCurrentInstance
,
getCurrentScope
,
getExposeProxy
,
guardReactiveProps
,
h
,
hasQueueJob
,
inject
,
injectHook
,
invalidateJob
,
isInSSRComponentSetup
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
logError
,
m
,
markRaw
,
mergeDefaults
,
mergeProps
,
n
,
nextTick
,
o
,
onActivated
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onScopeDispose
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
p
,
patch
,
provide
,
proxyRefs
,
pruneComponentPropsCache
,
queuePostFlushCb
,
r
,
reactive
,
readonly
,
ref
,
resolveComponent
,
resolveDirective
,
resolveFilter
,
s
,
setCurrentRenderingInstance
,
setTemplateRef
,
setupDevtoolsPlugin
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
sr
,
stop
,
t
,
toHandlers
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
,
updateProps
,
useAttrs
,
useCssModule
,
useCssVars
,
useSSRContext
,
useSlots
,
version
,
w
,
warn$1
as
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withModifiers
,
withScopeId
};
export
{
EffectScope
,
Fragment
,
ReactiveEffect
,
Text
,
c
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
computed$1
as
computed
,
createApp
,
createSSRApp
,
createVNode$1
as
createVNode
,
createVueApp
,
customRef
,
d
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
diff
,
e
,
effect
,
effectScope
,
f
,
findComponentPropsData
,
getCurrentInstance
,
getCurrentScope
,
getExposeProxy
,
guardReactiveProps
,
h
,
hasQueueJob
,
inject
,
injectHook
,
invalidateJob
,
isInSSRComponentSetup
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
j
,
logError
,
m
,
markRaw
,
mergeDefaults
,
mergeProps
,
n
,
nextTick
,
o
,
onActivated
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onScopeDispose
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
p
,
patch
,
provide
,
proxyRefs
,
pruneComponentPropsCache
,
queuePostFlushCb
,
r
,
reactive
,
readonly
,
ref
,
resolveComponent
,
resolveDirective
,
resolveFilter
,
s
,
setCurrentRenderingInstance
,
setTemplateRef
,
setupDevtoolsPlugin
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
sr
,
stop
,
t
,
toHandlers
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
,
updateProps
,
useAttrs
,
useCssModule
,
useCssVars
,
useSSRContext
,
useSlots
,
version
,
w
,
warn$1
as
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withModifiers
,
withScopeId
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录