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

build:all

上级 31e9a94b
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -357,8 +357,9 @@ var baseApi = /*#__PURE__*/Object.freeze({
});
// 不支持的 API 列表
const todos = [
'preloadPage',
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',
......
......@@ -393,8 +393,9 @@ var previewImage = {
const protocols = {
previewImage
};
const todos = [
'preloadPage',
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
// 'startBeaconDiscovery',
// 'stopBeaconDiscovery',
......@@ -425,10 +426,10 @@ const todos = [
// 'chooseInvoiceTitle',
// 'checkIsSupportSoterAuthentication',
// 'startSoterAuthentication',
// 'checkIsSoterEnrolledInDevice',
// 'vibrate',
// 'loadFontFace',
// 'getExtConfig',
// 'checkIsSoterEnrolledInDevice',
// 'vibrate',
// 'loadFontFace',
// 'getExtConfig',
// 'getExtConfigSync'
];
const canIUses = [
......@@ -444,14 +445,14 @@ const canIUses = [
'onUserCaptureScreen',
'vibrateLong',
'vibrateShort',
'createWorker',
'connectSocket',
'onSocketOpen',
'onSocketError',
'sendSocketMessage',
'onSocketMessage',
'closeSocket',
'onSocketClose',
'createWorker',
'connectSocket',
'onSocketOpen',
'onSocketError',
'sendSocketMessage',
'onSocketMessage',
'closeSocket',
'onSocketClose',
'openDocument',
'updateShareMenu',
'getShareInfo',
......
......@@ -391,8 +391,9 @@ var previewImage = {
};
// 不支持的 API 列表
const todos = [
'preloadPage',
const todos = [
'preloadPage',
'unPreloadPage',
'loadSubPackage'
// 'createCameraContext',
// 'createLivePlayerContext',
......@@ -450,7 +451,7 @@ const todos = [
// 'setEnableDebug',
// 'onWindowResize',
// 'offWindowResize',
// 'createOffscreenCanvas',
// 'createOffscreenCanvas',
// 'vibrate'
];
......@@ -544,7 +545,7 @@ const protocols = {
timeout: false
}
},
requestPayment: {
requestPayment: {
name: tt.pay ? 'pay' : 'requestPayment',
args: {
orderInfo: tt.pay ? 'orderInfo' : 'data'
......
......@@ -411,8 +411,9 @@ const protocols = {
}
};
const todos = [
'vibrate',
'preloadPage',
'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.
先完成此消息的编辑!
想要评论请 注册