Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wzj-java
uni-app
提交
6c3169c3
U
uni-app
项目概览
wzj-java
/
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,发现更多精彩内容 >>
提交
6c3169c3
编写于
11月 22, 2019
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build v3
上级
e8594779
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
80 addition
and
50 deletion
+80
-50
packages/uni-app-plus/dist/index.v3.js
packages/uni-app-plus/dist/index.v3.js
+72
-43
packages/uni-app-plus/dist/service.runtime.esm.js
packages/uni-app-plus/dist/service.runtime.esm.js
+8
-7
未找到文件。
packages/uni-app-plus/dist/index.v3.js
浏览文件 @
6c3169c3
...
...
@@ -872,6 +872,20 @@ var serviceContext = (function () {
makePhoneCall
:
makePhoneCall
});
const
setClipboardData
=
{
beforeSuccess
()
{
uni
.
showToast
({
title
:
'
内容已复制
'
,
icon
:
'
success
'
,
mask
:
false
});
}
};
var
require_context_module_0_8
=
/*#__PURE__*/
Object
.
freeze
({
setClipboardData
:
setClipboardData
});
const
openDocument
=
{
filePath
:
{
type
:
String
,
...
...
@@ -882,7 +896,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_
8
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_
9
=
/*#__PURE__*/
Object
.
freeze
({
openDocument
:
openDocument
});
...
...
@@ -892,7 +906,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_
9
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_
10
=
/*#__PURE__*/
Object
.
freeze
({
chooseLocation
:
chooseLocation
});
...
...
@@ -915,7 +929,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
0
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
1
=
/*#__PURE__*/
Object
.
freeze
({
getLocation
:
getLocation
});
...
...
@@ -944,7 +958,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
1
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
2
=
/*#__PURE__*/
Object
.
freeze
({
openLocation
:
openLocation
});
...
...
@@ -1001,7 +1015,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
2
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
3
=
/*#__PURE__*/
Object
.
freeze
({
chooseImage
:
chooseImage
});
...
...
@@ -1028,7 +1042,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
3
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
4
=
/*#__PURE__*/
Object
.
freeze
({
chooseVideo
:
chooseVideo
});
...
...
@@ -1120,7 +1134,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
4
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
5
=
/*#__PURE__*/
Object
.
freeze
({
getImageInfo
:
getImageInfo
});
...
...
@@ -1155,7 +1169,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
5
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
6
=
/*#__PURE__*/
Object
.
freeze
({
previewImage
:
previewImage
});
...
...
@@ -1172,7 +1186,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
6
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
7
=
/*#__PURE__*/
Object
.
freeze
({
downloadFile
:
downloadFile
});
...
...
@@ -1274,7 +1288,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
7
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
8
=
/*#__PURE__*/
Object
.
freeze
({
request
:
request
});
...
...
@@ -1327,7 +1341,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_1
8
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_1
9
=
/*#__PURE__*/
Object
.
freeze
({
connectSocket
:
connectSocket
,
sendSocketMessage
:
sendSocketMessage
,
closeSocket
:
closeSocket
...
...
@@ -1363,7 +1377,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_
19
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_
20
=
/*#__PURE__*/
Object
.
freeze
({
uploadFile
:
uploadFile
});
...
...
@@ -1387,7 +1401,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_2
0
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
1
=
/*#__PURE__*/
Object
.
freeze
({
getProvider
:
getProvider
});
...
...
@@ -1535,7 +1549,7 @@ var serviceContext = (function () {
]
));
var
require_context_module_0_2
1
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
2
=
/*#__PURE__*/
Object
.
freeze
({
redirectTo
:
redirectTo
,
reLaunch
:
reLaunch
,
navigateTo
:
navigateTo
,
...
...
@@ -1578,7 +1592,7 @@ var serviceContext = (function () {
const
removeStorage
=
getStorage
;
const
removeStorageSync
=
getStorageSync
;
var
require_context_module_0_2
2
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
3
=
/*#__PURE__*/
Object
.
freeze
({
getStorage
:
getStorage
,
getStorageSync
:
getStorageSync
,
setStorage
:
setStorage
,
...
...
@@ -1625,7 +1639,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_2
3
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
4
=
/*#__PURE__*/
Object
.
freeze
({
setNavigationBarColor
:
setNavigationBarColor
,
setNavigationBarTitle
:
setNavigationBarTitle
});
...
...
@@ -1644,7 +1658,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_2
4
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
5
=
/*#__PURE__*/
Object
.
freeze
({
pageScrollTo
:
pageScrollTo
});
...
...
@@ -1761,7 +1775,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_2
5
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
6
=
/*#__PURE__*/
Object
.
freeze
({
showModal
:
showModal
,
showToast
:
showToast
,
showLoading
:
showLoading
,
...
...
@@ -1845,7 +1859,7 @@ var serviceContext = (function () {
}
};
var
require_context_module_0_2
6
=
/*#__PURE__*/
Object
.
freeze
({
var
require_context_module_0_2
7
=
/*#__PURE__*/
Object
.
freeze
({
setTabBarItem
:
setTabBarItem
,
setTabBarStyle
:
setTabBarStyle
,
hideTabBar
:
hideTabBar
,
...
...
@@ -1868,25 +1882,26 @@ var serviceContext = (function () {
'
./context/canvas.js
'
:
require_context_module_0_5
,
'
./context/context.js
'
:
require_context_module_0_6
,
'
./device/make-phone-call.js
'
:
require_context_module_0_7
,
'
./file/open-document.js
'
:
require_context_module_0_8
,
'
./location/choose-location.js
'
:
require_context_module_0_9
,
'
./location/get-location.js
'
:
require_context_module_0_10
,
'
./location/open-location.js
'
:
require_context_module_0_11
,
'
./media/choose-image.js
'
:
require_context_module_0_12
,
'
./media/choose-video.js
'
:
require_context_module_0_13
,
'
./media/get-image-info.js
'
:
require_context_module_0_14
,
'
./media/preview-image.js
'
:
require_context_module_0_15
,
'
./network/download-file.js
'
:
require_context_module_0_16
,
'
./network/request.js
'
:
require_context_module_0_17
,
'
./network/socket.js
'
:
require_context_module_0_18
,
'
./network/upload-file.js
'
:
require_context_module_0_19
,
'
./plugin/get-provider.js
'
:
require_context_module_0_20
,
'
./route/route.js
'
:
require_context_module_0_21
,
'
./storage/storage.js
'
:
require_context_module_0_22
,
'
./ui/navigation-bar.js
'
:
require_context_module_0_23
,
'
./ui/page-scroll-to.js
'
:
require_context_module_0_24
,
'
./ui/popup.js
'
:
require_context_module_0_25
,
'
./ui/tab-bar.js
'
:
require_context_module_0_26
,
'
./device/set-clipboard-data.js
'
:
require_context_module_0_8
,
'
./file/open-document.js
'
:
require_context_module_0_9
,
'
./location/choose-location.js
'
:
require_context_module_0_10
,
'
./location/get-location.js
'
:
require_context_module_0_11
,
'
./location/open-location.js
'
:
require_context_module_0_12
,
'
./media/choose-image.js
'
:
require_context_module_0_13
,
'
./media/choose-video.js
'
:
require_context_module_0_14
,
'
./media/get-image-info.js
'
:
require_context_module_0_15
,
'
./media/preview-image.js
'
:
require_context_module_0_16
,
'
./network/download-file.js
'
:
require_context_module_0_17
,
'
./network/request.js
'
:
require_context_module_0_18
,
'
./network/socket.js
'
:
require_context_module_0_19
,
'
./network/upload-file.js
'
:
require_context_module_0_20
,
'
./plugin/get-provider.js
'
:
require_context_module_0_21
,
'
./route/route.js
'
:
require_context_module_0_22
,
'
./storage/storage.js
'
:
require_context_module_0_23
,
'
./ui/navigation-bar.js
'
:
require_context_module_0_24
,
'
./ui/page-scroll-to.js
'
:
require_context_module_0_25
,
'
./ui/popup.js
'
:
require_context_module_0_26
,
'
./ui/tab-bar.js
'
:
require_context_module_0_27
,
};
var
req
=
function
req
(
key
)
{
...
...
@@ -2171,7 +2186,6 @@ var serviceContext = (function () {
const
extra
=
extras
[
name
];
if
(
isFn
(
extra
))
{
wrapperCallbacks
[
name
]
=
tryCatchFramework
(
extra
);
delete
extras
[
name
];
}
}
...
...
@@ -2280,10 +2294,18 @@ var serviceContext = (function () {
}
}
function
wrapper
(
name
,
invokeMethod
,
extras
)
{
function
wrapperExtras
(
name
,
extras
)
{
const
protocolOptions
=
protocol
[
name
];
if
(
protocolOptions
)
{
isFn
(
protocolOptions
.
beforeSuccess
)
&&
(
extras
.
beforeSuccess
=
protocolOptions
.
beforeSuccess
);
}
}
function
wrapper
(
name
,
invokeMethod
,
extras
=
{})
{
if
(
!
isFn
(
invokeMethod
))
{
return
invokeMethod
}
wrapperExtras
(
name
,
extras
);
return
function
(...
args
)
{
if
(
isSyncApi
(
name
))
{
if
(
validateParams
(
name
,
args
,
-
1
))
{
...
...
@@ -2528,7 +2550,14 @@ var serviceContext = (function () {
return
UniServiceJSBridge
.
emit
(
'
api.
'
+
name
,
...
args
)
}
let
lastStatusBarStyle
;
let
lastStatusBarStyle
;
const
oldSetStatusBarStyle
=
plus
.
navigator
.
setStatusBarStyle
;
plus
.
navigator
.
setStatusBarStyle
=
function
(
style
)
{
lastStatusBarStyle
=
style
;
oldSetStatusBarStyle
(
style
);
};
function
setStatusBarStyle
(
statusBarStyle
)
{
if
(
!
statusBarStyle
)
{
...
...
@@ -3772,7 +3801,7 @@ var serviceContext = (function () {
});
}
function
setClipboardData
({
function
setClipboardData
$1
({
data
})
{
const
clipboard
=
requireNativePlugin
(
'
clipboard
'
);
...
...
@@ -8518,7 +8547,7 @@ var serviceContext = (function () {
setScreenBrightness
:
setScreenBrightness
,
setKeepScreenOn
:
setKeepScreenOn
,
getClipboardData
:
getClipboardData
,
setClipboardData
:
setClipboardData
,
setClipboardData
:
setClipboardData
$1
,
enableCompass
:
enableCompass
,
getNetworkType
:
getNetworkType
,
onBeaconUpdate
:
onBeaconUpdate
,
...
...
packages/uni-app-plus/dist/service.runtime.esm.js
浏览文件 @
6c3169c3
/*!
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
export
default
function
vueFactory
(
exports
,
SharedObject
)
{
/* */
var
emptyObject
=
Object
.
freeze
({});
...
...
@@ -6832,6 +6829,10 @@ Vue.prototype.$mount = function (
};
Vue
.
use
(
plugin
);
/* */
// this entry is built and wrapped with a factory function
exports
.
Vue
=
Vue
;
export
default
Vue
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录