diff --git a/packages/uni-mp-alipay/dist/index.js b/packages/uni-mp-alipay/dist/index.js index 820d5606e5db597d93502cba78958126f5d7191f..139e5cf00e848c0493a8053fb72a2ea62285cb4d 100644 --- a/packages/uni-mp-alipay/dist/index.js +++ b/packages/uni-mp-alipay/dist/index.js @@ -353,29 +353,26 @@ var baseApi = /*#__PURE__*/Object.freeze({ // 不支持的 API 列表 const todos = [ - 'getRecorderManager', - 'getBackgroundAudioManager', - 'createInnerAudioContext', - 'createVideoContext', - 'createCameraContext', - 'createLivePlayerContext', - 'onMemoryWarning', - 'startAccelerometer', - 'startCompass', - 'addPhoneContact', - 'authorize', - 'chooseInvoiceTitle', - 'addTemplate', - 'deleteTemplate', - 'getTemplateLibraryById', - 'getTemplateLibraryList', - 'getTemplateList', - 'sendTemplateMessage', - 'setEnableDebug', - 'getExtConfig', - 'getExtConfigSync', - 'onWindowResize', - 'offWindowResize' + // 'getRecorderManager', + // 'getBackgroundAudioManager', + // 'createInnerAudioContext', + // 'createCameraContext', + // 'createLivePlayerContext', + // 'startAccelerometer', + // 'startCompass', + // 'authorize', + // 'chooseInvoiceTitle', + // 'addTemplate', + // 'deleteTemplate', + // 'getTemplateLibraryById', + // 'getTemplateLibraryList', + // 'getTemplateList', + // 'sendTemplateMessage', + // 'setEnableDebug', + // 'getExtConfig', + // 'getExtConfigSync', + // 'onWindowResize', + // 'offWindowResize' ]; // 存在兼容性的 API 列表 @@ -398,7 +395,10 @@ const canIUses = [ 'checkIsSupportSoterAuthentication', 'startSoterAuthentication', 'checkIsSoterEnrolledInDevice', - 'openDocument' + 'openDocument', + 'createVideoContext', + 'onMemoryWarning', + 'addPhoneContact' ]; function _handleNetworkInfo (result) { @@ -1993,6 +1993,12 @@ function parsePage (vuePageOptions) { onUnload () { this.$vm.__call_hook('onUnload'); this.$vm.$destroy(); + }, + events: { + // 支付宝小程序有些页面事件只能放在events下 + onBack () { + this.$vm.__call_hook('onBackPress'); + } }, __r: handleRef, __e: handleEvent, diff --git a/packages/uni-mp-baidu/dist/index.js b/packages/uni-mp-baidu/dist/index.js index 7be314570d9aefb41844fd3e770d3465f6a92f6a..bf79c194b5a4517cbe360cfd3559e06976dcc703 100644 --- a/packages/uni-mp-baidu/dist/index.js +++ b/packages/uni-mp-baidu/dist/index.js @@ -387,37 +387,37 @@ var previewImage = { // 不支持的 API 列表 const todos = [ - 'hideKeyboard', - 'onGyroscopeChange', - 'startGyroscope', - 'stopGyroscope', - 'openBluetoothAdapter', - 'startBluetoothDevicesDiscovery', - 'onBluetoothDeviceFound', - 'stopBluetoothDevicesDiscovery', - 'onBluetoothAdapterStateChange', - 'getConnectedBluetoothDevices', - 'getBluetoothDevices', - 'getBluetoothAdapterState', - 'closeBluetoothAdapter', - 'writeBLECharacteristicValue', - 'readBLECharacteristicValue', - 'onBLEConnectionStateChange', - 'onBLECharacteristicValueChange', - 'notifyBLECharacteristicValueChange', - 'getBLEDeviceServices', - 'getBLEDeviceCharacteristics', - 'createBLEConnection', - 'closeBLEConnection', - 'onBeaconServiceChange', - 'onBeaconUpdate', - 'getBeacons', - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'hideShareMenu', - 'onWindowResize', - 'offWindowResize', - 'vibrate' + // 'hideKeyboard', + // 'onGyroscopeChange', + // 'startGyroscope', + // 'stopGyroscope', + // 'openBluetoothAdapter', + // 'startBluetoothDevicesDiscovery', + // 'onBluetoothDeviceFound', + // 'stopBluetoothDevicesDiscovery', + // 'onBluetoothAdapterStateChange', + // 'getConnectedBluetoothDevices', + // 'getBluetoothDevices', + // 'getBluetoothAdapterState', + // 'closeBluetoothAdapter', + // 'writeBLECharacteristicValue', + // 'readBLECharacteristicValue', + // 'onBLEConnectionStateChange', + // 'onBLECharacteristicValueChange', + // 'notifyBLECharacteristicValueChange', + // 'getBLEDeviceServices', + // 'getBLEDeviceCharacteristics', + // 'createBLEConnection', + // 'closeBLEConnection', + // 'onBeaconServiceChange', + // 'onBeaconUpdate', + // 'getBeacons', + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'hideShareMenu', + // 'onWindowResize', + // 'offWindowResize', + // 'vibrate' ]; // 存在兼容性的 API 列表 diff --git a/packages/uni-mp-qq/dist/index.js b/packages/uni-mp-qq/dist/index.js index 59609eda023656c1f93ec9e18b329eaa7f5ba105..2cba707f7d1000a63aa14007d486567ee4ee613e 100644 --- a/packages/uni-mp-qq/dist/index.js +++ b/packages/uni-mp-qq/dist/index.js @@ -389,40 +389,40 @@ const protocols = { previewImage }; const todos = [ - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'getBeacons', - 'onBeaconUpdate', - 'onBeaconServiceChange', - 'addPhoneContact', - 'getHCEState', - 'startHCE', - 'stopHCE', - 'onHCEMessage', - 'sendHCEMessage', - 'startWifi', - 'stopWifi', - 'connectWifi', - 'getWifiList', - 'onGetWifiList', - 'setWifiList', - 'onWifiConnected', - 'getConnectedWifi', - 'setTopBarText', - 'getPhoneNumber', - 'chooseAddress', - 'addCard', - 'openCard', - 'getWeRunData', - 'launchApp', - 'chooseInvoiceTitle', - 'checkIsSupportSoterAuthentication', - 'startSoterAuthentication', - 'checkIsSoterEnrolledInDevice', - 'vibrate', - 'loadFontFace', - 'getExtConfig', - 'getExtConfigSync' + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'getBeacons', + // 'onBeaconUpdate', + // 'onBeaconServiceChange', + // 'addPhoneContact', + // 'getHCEState', + // 'startHCE', + // 'stopHCE', + // 'onHCEMessage', + // 'sendHCEMessage', + // 'startWifi', + // 'stopWifi', + // 'connectWifi', + // 'getWifiList', + // 'onGetWifiList', + // 'setWifiList', + // 'onWifiConnected', + // 'getConnectedWifi', + // 'setTopBarText', + // 'getPhoneNumber', + // 'chooseAddress', + // 'addCard', + // 'openCard', + // 'getWeRunData', + // 'launchApp', + // 'chooseInvoiceTitle', + // 'checkIsSupportSoterAuthentication', + // 'startSoterAuthentication', + // 'checkIsSoterEnrolledInDevice', + // 'vibrate', + // 'loadFontFace', + // 'getExtConfig', + // 'getExtConfigSync' ]; const canIUses = [ 'scanCode', diff --git a/packages/uni-mp-toutiao/dist/index.js b/packages/uni-mp-toutiao/dist/index.js index 22f743ea1c0edcc0ee571e491f3d4eb704a5b53f..4c738a88d2fccb17497eff013b27b700412c6316 100644 --- a/packages/uni-mp-toutiao/dist/index.js +++ b/packages/uni-mp-toutiao/dist/index.js @@ -387,65 +387,64 @@ var previewImage = { // 不支持的 API 列表 const todos = [ - 'createCameraContext', - 'createLivePlayerContext', - 'getSavedFileInfo', - 'createMapContext', - 'onMemoryWarning', - 'onGyroscopeChange', - 'startGyroscope', - 'stopGyroscope', - 'setScreenBrightness', - 'getScreenBrightness', - 'addPhoneContact', - 'openBluetoothAdapter', - 'startBluetoothDevicesDiscovery', - 'onBluetoothDeviceFound', - 'stopBluetoothDevicesDiscovery', - 'onBluetoothAdapterStateChange', - 'getConnectedBluetoothDevices', - 'getBluetoothDevices', - 'getBluetoothAdapterState', - 'closeBluetoothAdapter', - 'writeBLECharacteristicValue', - 'readBLECharacteristicValue', - 'onBLEConnectionStateChange', - 'onBLECharacteristicValueChange', - 'notifyBLECharacteristicValueChange', - 'getBLEDeviceServices', - 'getBLEDeviceCharacteristics', - 'createBLEConnection', - 'closeBLEConnection', - 'onBeaconServiceChange', - 'onBeaconUpdate', - 'getBeacons', - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'setNavigationBarColor', - 'showNavigationBarLoading', - 'hideNavigationBarLoading', - 'setTabBarItem', - 'setTabBarStyle', - 'hideTabBar', - 'showTabBar', - 'setTabBarBadge', - 'removeTabBarBadge', - 'showTabBarRedDot', - 'hideTabBarRedDot', - 'setBackgroundColor', - 'setBackgroundTextStyle', - 'chooseInvoiceTitle', - 'addTemplate', - 'deleteTemplate', - 'getTemplateLibraryById', - 'getTemplateLibraryList', - 'getTemplateList', - 'sendTemplateMessage', - 'setEnableDebug', - 'onWindowResize', - 'offWindowResize', - 'createOffscreenCanvas', - 'vibrate' + // 'createCameraContext', + // 'createLivePlayerContext', + // 'getSavedFileInfo', + // 'createMapContext', + // 'onMemoryWarning', + // 'onGyroscopeChange', + // 'startGyroscope', + // 'stopGyroscope', + // 'setScreenBrightness', + // 'getScreenBrightness', + // 'addPhoneContact', + // 'openBluetoothAdapter', + // 'startBluetoothDevicesDiscovery', + // 'onBluetoothDeviceFound', + // 'stopBluetoothDevicesDiscovery', + // 'onBluetoothAdapterStateChange', + // 'getConnectedBluetoothDevices', + // 'getBluetoothDevices', + // 'getBluetoothAdapterState', + // 'closeBluetoothAdapter', + // 'writeBLECharacteristicValue', + // 'readBLECharacteristicValue', + // 'onBLEConnectionStateChange', + // 'onBLECharacteristicValueChange', + // 'notifyBLECharacteristicValueChange', + // 'getBLEDeviceServices', + // 'getBLEDeviceCharacteristics', + // 'createBLEConnection', + // 'closeBLEConnection', + // 'onBeaconServiceChange', + // 'onBeaconUpdate', + // 'getBeacons', + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'showNavigationBarLoading', + // 'hideNavigationBarLoading', + // 'setTabBarItem', + // 'setTabBarStyle', + // 'hideTabBar', + // 'showTabBar', + // 'setTabBarBadge', + // 'removeTabBarBadge', + // 'showTabBarRedDot', + // 'hideTabBarRedDot', + // 'setBackgroundColor', + // 'setBackgroundTextStyle', + // 'chooseInvoiceTitle', + // 'addTemplate', + // 'deleteTemplate', + // 'getTemplateLibraryById', + // 'getTemplateLibraryList', + // 'getTemplateList', + // 'sendTemplateMessage', + // 'setEnableDebug', + // 'onWindowResize', + // 'offWindowResize', + // 'createOffscreenCanvas', + // 'vibrate' ]; // 存在兼容性的 API 列表 @@ -472,6 +471,7 @@ const canIUses = [ // 'openDocument', // 'onUserCaptureScreen', // 'getBackgroundAudioManager', + // 'setNavigationBarColor', ]; // 需要做转换的 API 列表 diff --git a/packages/webpack-uni-pages-loader/package.json b/packages/webpack-uni-pages-loader/package.json index 41da9ecf0715687f157df960426526518be517e9..bf614dee101de0fe44e79a3c8243f3f8580cf21c 100644 --- a/packages/webpack-uni-pages-loader/package.json +++ b/packages/webpack-uni-pages-loader/package.json @@ -21,7 +21,7 @@ "strip-json-comments": "^2.0.1" }, "uni-app": { - "compilerVersion": "2.4.7" + "compilerVersion": "2.4.9" }, "gitHead": "110501ffb0313e417858dec92acf07522d4ded00" }