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

build:all

上级 31e9a94b
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -357,8 +357,9 @@ var baseApi = /*#__PURE__*/Object.freeze({ ...@@ -357,8 +357,9 @@ var baseApi = /*#__PURE__*/Object.freeze({
}); });
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'preloadPage', 'preloadPage',
'unPreloadPage',
'loadSubPackage' 'loadSubPackage'
// 'getRecorderManager', // 'getRecorderManager',
// 'getBackgroundAudioManager', // 'getBackgroundAudioManager',
...@@ -578,6 +579,20 @@ const protocols = { // 需要做转换的 API 列表 ...@@ -578,6 +579,20 @@ const protocols = { // 需要做转换的 API 列表
filePath: 'apFilePath' 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: { chooseVideo: {
// 支付宝小程序文档中未找到(仅在getSetting处提及),但实际可用 // 支付宝小程序文档中未找到(仅在getSetting处提及),但实际可用
returnValue: { returnValue: {
......
...@@ -392,7 +392,8 @@ var previewImage = { ...@@ -392,7 +392,8 @@ var previewImage = {
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'preloadPage' 'preloadPage',
'unPreloadPage'
// 'hideKeyboard', // 'hideKeyboard',
// 'onGyroscopeChange', // 'onGyroscopeChange',
// 'startGyroscope', // 'startGyroscope',
......
...@@ -393,8 +393,9 @@ var previewImage = { ...@@ -393,8 +393,9 @@ var previewImage = {
const protocols = { const protocols = {
previewImage previewImage
}; };
const todos = [ const todos = [
'preloadPage', 'preloadPage',
'unPreloadPage',
'loadSubPackage' 'loadSubPackage'
// 'startBeaconDiscovery', // 'startBeaconDiscovery',
// 'stopBeaconDiscovery', // 'stopBeaconDiscovery',
...@@ -425,10 +426,10 @@ const todos = [ ...@@ -425,10 +426,10 @@ const todos = [
// 'chooseInvoiceTitle', // 'chooseInvoiceTitle',
// 'checkIsSupportSoterAuthentication', // 'checkIsSupportSoterAuthentication',
// 'startSoterAuthentication', // 'startSoterAuthentication',
// 'checkIsSoterEnrolledInDevice', // 'checkIsSoterEnrolledInDevice',
// 'vibrate', // 'vibrate',
// 'loadFontFace', // 'loadFontFace',
// 'getExtConfig', // 'getExtConfig',
// 'getExtConfigSync' // 'getExtConfigSync'
]; ];
const canIUses = [ const canIUses = [
...@@ -444,14 +445,14 @@ const canIUses = [ ...@@ -444,14 +445,14 @@ const canIUses = [
'onUserCaptureScreen', 'onUserCaptureScreen',
'vibrateLong', 'vibrateLong',
'vibrateShort', 'vibrateShort',
'createWorker', 'createWorker',
'connectSocket', 'connectSocket',
'onSocketOpen', 'onSocketOpen',
'onSocketError', 'onSocketError',
'sendSocketMessage', 'sendSocketMessage',
'onSocketMessage', 'onSocketMessage',
'closeSocket', 'closeSocket',
'onSocketClose', 'onSocketClose',
'openDocument', 'openDocument',
'updateShareMenu', 'updateShareMenu',
'getShareInfo', 'getShareInfo',
......
...@@ -391,8 +391,9 @@ var previewImage = { ...@@ -391,8 +391,9 @@ var previewImage = {
}; };
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'preloadPage', 'preloadPage',
'unPreloadPage',
'loadSubPackage' 'loadSubPackage'
// 'createCameraContext', // 'createCameraContext',
// 'createLivePlayerContext', // 'createLivePlayerContext',
...@@ -450,7 +451,7 @@ const todos = [ ...@@ -450,7 +451,7 @@ const todos = [
// 'setEnableDebug', // 'setEnableDebug',
// 'onWindowResize', // 'onWindowResize',
// 'offWindowResize', // 'offWindowResize',
// 'createOffscreenCanvas', // 'createOffscreenCanvas',
// 'vibrate' // 'vibrate'
]; ];
...@@ -544,7 +545,7 @@ const protocols = { ...@@ -544,7 +545,7 @@ const protocols = {
timeout: false timeout: false
} }
}, },
requestPayment: { requestPayment: {
name: tt.pay ? 'pay' : 'requestPayment', name: tt.pay ? 'pay' : 'requestPayment',
args: { args: {
orderInfo: tt.pay ? 'orderInfo' : 'data' orderInfo: tt.pay ? 'orderInfo' : 'data'
......
...@@ -411,8 +411,9 @@ const protocols = { ...@@ -411,8 +411,9 @@ const protocols = {
} }
}; };
const todos = [ const todos = [
'vibrate', 'vibrate',
'preloadPage', 'preloadPage',
'unPreloadPage',
'loadSubPackage' 'loadSubPackage'
]; ];
const canIUses = []; const canIUses = [];
......
...@@ -395,6 +395,7 @@ const protocols = { ...@@ -395,6 +395,7 @@ const protocols = {
}; };
const todos = [ const todos = [
'preloadPage', 'preloadPage',
'unPreloadPage',
'loadSubPackage' 'loadSubPackage'
]; ];
const canIUses = []; const canIUses = [];
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"strip-json-comments": "^2.0.1" "strip-json-comments": "^2.0.1"
}, },
"uni-app": { "uni-app": {
"compilerVersion": "2.7.12" "compilerVersion": "2.7.11"
}, },
"gitHead": "e62f0398362f2f9de0bf5726046d7951c88d6b1d" "gitHead": "e62f0398362f2f9de0bf5726046d7951c88d6b1d"
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册