提交 1bd0bb7a 编写于 作者: fxy060608's avatar fxy060608

build:all

上级 31e9a94b
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -359,6 +359,7 @@ var baseApi = /*#__PURE__*/Object.freeze({
// 不支持的 API 列表
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
// 'getRecorderManager',
// 'getBackgroundAudioManager',
......@@ -578,6 +579,20 @@ const protocols = { // 需要做转换的 API 列表
filePath: 'apFilePath'
}
},
compressImage: {
args (fromArgs) {
fromArgs.compressLevel = 4;
if (fromArgs && fromArgs.quality) {
fromArgs.compressLevel = Math.floor(fromArgs.quality / 26);
}
fromArgs.apFilePaths = [fromArgs.src];
},
returnValue (result) {
if (result.apFilePaths && result.apFilePaths.length) {
result.tempFilePath = result.apFilePaths[0];
}
}
},
chooseVideo: {
// 支付宝小程序文档中未找到(仅在getSetting处提及),但实际可用
returnValue: {
......
......@@ -392,7 +392,8 @@ var previewImage = {
// 不支持的 API 列表
const todos = [
'preloadPage'
'preloadPage',
'unPreloadPage'
// 'hideKeyboard',
// 'onGyroscopeChange',
// 'startGyroscope',
......
......@@ -395,6 +395,7 @@ const protocols = {
};
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
// 'startBeaconDiscovery',
// 'stopBeaconDiscovery',
......
......@@ -393,6 +393,7 @@ var previewImage = {
// 不支持的 API 列表
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
// 'createCameraContext',
// 'createLivePlayerContext',
......
......@@ -413,6 +413,7 @@ const protocols = {
const todos = [
'vibrate',
'preloadPage',
'unPreloadPage',
'loadSubPackage'
];
const canIUses = [];
......
......@@ -395,6 +395,7 @@ const protocols = {
};
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
];
const canIUses = [];
......
......@@ -21,7 +21,7 @@
"strip-json-comments": "^2.0.1"
},
"uni-app": {
"compilerVersion": "2.7.12"
"compilerVersion": "2.7.11"
},
"gitHead": "e62f0398362f2f9de0bf5726046d7951c88d6b1d"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册