提交 381915b8 编写于 作者: Q qiang

Merge branch 'dev' of github.com:dcloudio/uni-app into dev

...@@ -2,22 +2,10 @@ import previewImage from '../../../mp-weixin/helpers/normalize-preview-image' ...@@ -2,22 +2,10 @@ import previewImage from '../../../mp-weixin/helpers/normalize-preview-image'
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'hideKeyboard',
'onSocketOpen',
'onSocketError',
'sendSocketMessage',
'onSocketMessage',
'closeSocket',
'onSocketClose',
'getImageInfo',
'getBackgroundAudioManager', 'getBackgroundAudioManager',
'createVideoContext',
'createCameraContext', 'createCameraContext',
'createLivePlayerContext', 'createLivePlayerContext',
'getSavedFileList',
'getSavedFileInfo', 'getSavedFileInfo',
'removeSavedFile',
'getFileInfo',
'openDocument', 'openDocument',
'chooseLocation', 'chooseLocation',
'createMapContext', 'createMapContext',
...@@ -66,7 +54,6 @@ const todos = [ ...@@ -66,7 +54,6 @@ const todos = [
'hideTabBarRedDot', 'hideTabBarRedDot',
'setBackgroundColor', 'setBackgroundColor',
'setBackgroundTextStyle', 'setBackgroundTextStyle',
'createIntersectionObserver',
'chooseInvoiceTitle', 'chooseInvoiceTitle',
'navigateToMiniProgram', 'navigateToMiniProgram',
'navigateBackMiniProgram', 'navigateBackMiniProgram',
...@@ -77,14 +64,28 @@ const todos = [ ...@@ -77,14 +64,28 @@ const todos = [
'getTemplateList', 'getTemplateList',
'sendTemplateMessage', 'sendTemplateMessage',
'setEnableDebug', 'setEnableDebug',
'getExtConfig',
'getExtConfigSync',
'onWindowResize', 'onWindowResize',
'offWindowResize' 'offWindowResize'
] ]
// 存在兼容性的 API 列表 // 存在兼容性的 API 列表
const canIUses = [] // 头条小程序不支持canIUses
const canIUses = [
// 'createIntersectionObserver',
// 'getSavedFileList',
// 'removeSavedFile',
// 'hideKeyboard',
// 'getImageInfo',
// 'createVideoContext',
// 'onSocketOpen',
// 'onSocketError',
// 'sendSocketMessage',
// 'onSocketMessage',
// 'closeSocket',
// 'onSocketClose',
// 'getExtConfig',
// 'getExtConfigSync',
]
// 需要做转换的 API 列表 // 需要做转换的 API 列表
const protocols = { const protocols = {
...@@ -101,7 +102,7 @@ const protocols = { ...@@ -101,7 +102,7 @@ const protocols = {
}, },
chooseVideo: { chooseVideo: {
args: { args: {
maxDuration: false camera: false
} }
}, },
scanCode: { scanCode: {
...@@ -150,8 +151,15 @@ const protocols = { ...@@ -150,8 +151,15 @@ const protocols = {
} }
}, },
requestPayment: { requestPayment: {
args: {
orderInfo: 'data' orderInfo: 'data'
} }
},
getFileInfo: {
args: {
digestAlgorithm: false
}
}
} }
export { export {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册