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

build:runtime

上级 bec2345d
...@@ -353,29 +353,26 @@ var baseApi = /*#__PURE__*/Object.freeze({ ...@@ -353,29 +353,26 @@ var baseApi = /*#__PURE__*/Object.freeze({
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'getRecorderManager', // 'getRecorderManager',
'getBackgroundAudioManager', // 'getBackgroundAudioManager',
'createInnerAudioContext', // 'createInnerAudioContext',
'createVideoContext', // 'createCameraContext',
'createCameraContext', // 'createLivePlayerContext',
'createLivePlayerContext', // 'startAccelerometer',
'onMemoryWarning', // 'startCompass',
'startAccelerometer', // 'authorize',
'startCompass', // 'chooseInvoiceTitle',
'addPhoneContact', // 'addTemplate',
'authorize', // 'deleteTemplate',
'chooseInvoiceTitle', // 'getTemplateLibraryById',
'addTemplate', // 'getTemplateLibraryList',
'deleteTemplate', // 'getTemplateList',
'getTemplateLibraryById', // 'sendTemplateMessage',
'getTemplateLibraryList', // 'setEnableDebug',
'getTemplateList', // 'getExtConfig',
'sendTemplateMessage', // 'getExtConfigSync',
'setEnableDebug', // 'onWindowResize',
'getExtConfig', // 'offWindowResize'
'getExtConfigSync',
'onWindowResize',
'offWindowResize'
]; ];
// 存在兼容性的 API 列表 // 存在兼容性的 API 列表
...@@ -398,7 +395,10 @@ const canIUses = [ ...@@ -398,7 +395,10 @@ const canIUses = [
'checkIsSupportSoterAuthentication', 'checkIsSupportSoterAuthentication',
'startSoterAuthentication', 'startSoterAuthentication',
'checkIsSoterEnrolledInDevice', 'checkIsSoterEnrolledInDevice',
'openDocument' 'openDocument',
'createVideoContext',
'onMemoryWarning',
'addPhoneContact'
]; ];
function _handleNetworkInfo (result) { function _handleNetworkInfo (result) {
...@@ -1993,6 +1993,12 @@ function parsePage (vuePageOptions) { ...@@ -1993,6 +1993,12 @@ function parsePage (vuePageOptions) {
onUnload () { onUnload () {
this.$vm.__call_hook('onUnload'); this.$vm.__call_hook('onUnload');
this.$vm.$destroy(); this.$vm.$destroy();
},
events: {
// 支付宝小程序有些页面事件只能放在events下
onBack () {
this.$vm.__call_hook('onBackPress');
}
}, },
__r: handleRef, __r: handleRef,
__e: handleEvent, __e: handleEvent,
......
...@@ -387,37 +387,37 @@ var previewImage = { ...@@ -387,37 +387,37 @@ var previewImage = {
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'hideKeyboard', // 'hideKeyboard',
'onGyroscopeChange', // 'onGyroscopeChange',
'startGyroscope', // 'startGyroscope',
'stopGyroscope', // 'stopGyroscope',
'openBluetoothAdapter', // 'openBluetoothAdapter',
'startBluetoothDevicesDiscovery', // 'startBluetoothDevicesDiscovery',
'onBluetoothDeviceFound', // 'onBluetoothDeviceFound',
'stopBluetoothDevicesDiscovery', // 'stopBluetoothDevicesDiscovery',
'onBluetoothAdapterStateChange', // 'onBluetoothAdapterStateChange',
'getConnectedBluetoothDevices', // 'getConnectedBluetoothDevices',
'getBluetoothDevices', // 'getBluetoothDevices',
'getBluetoothAdapterState', // 'getBluetoothAdapterState',
'closeBluetoothAdapter', // 'closeBluetoothAdapter',
'writeBLECharacteristicValue', // 'writeBLECharacteristicValue',
'readBLECharacteristicValue', // 'readBLECharacteristicValue',
'onBLEConnectionStateChange', // 'onBLEConnectionStateChange',
'onBLECharacteristicValueChange', // 'onBLECharacteristicValueChange',
'notifyBLECharacteristicValueChange', // 'notifyBLECharacteristicValueChange',
'getBLEDeviceServices', // 'getBLEDeviceServices',
'getBLEDeviceCharacteristics', // 'getBLEDeviceCharacteristics',
'createBLEConnection', // 'createBLEConnection',
'closeBLEConnection', // 'closeBLEConnection',
'onBeaconServiceChange', // 'onBeaconServiceChange',
'onBeaconUpdate', // 'onBeaconUpdate',
'getBeacons', // 'getBeacons',
'startBeaconDiscovery', // 'startBeaconDiscovery',
'stopBeaconDiscovery', // 'stopBeaconDiscovery',
'hideShareMenu', // 'hideShareMenu',
'onWindowResize', // 'onWindowResize',
'offWindowResize', // 'offWindowResize',
'vibrate' // 'vibrate'
]; ];
// 存在兼容性的 API 列表 // 存在兼容性的 API 列表
......
...@@ -389,40 +389,40 @@ const protocols = { ...@@ -389,40 +389,40 @@ const protocols = {
previewImage previewImage
}; };
const todos = [ const todos = [
'startBeaconDiscovery', // 'startBeaconDiscovery',
'stopBeaconDiscovery', // 'stopBeaconDiscovery',
'getBeacons', // 'getBeacons',
'onBeaconUpdate', // 'onBeaconUpdate',
'onBeaconServiceChange', // 'onBeaconServiceChange',
'addPhoneContact', // 'addPhoneContact',
'getHCEState', // 'getHCEState',
'startHCE', // 'startHCE',
'stopHCE', // 'stopHCE',
'onHCEMessage', // 'onHCEMessage',
'sendHCEMessage', // 'sendHCEMessage',
'startWifi', // 'startWifi',
'stopWifi', // 'stopWifi',
'connectWifi', // 'connectWifi',
'getWifiList', // 'getWifiList',
'onGetWifiList', // 'onGetWifiList',
'setWifiList', // 'setWifiList',
'onWifiConnected', // 'onWifiConnected',
'getConnectedWifi', // 'getConnectedWifi',
'setTopBarText', // 'setTopBarText',
'getPhoneNumber', // 'getPhoneNumber',
'chooseAddress', // 'chooseAddress',
'addCard', // 'addCard',
'openCard', // 'openCard',
'getWeRunData', // 'getWeRunData',
'launchApp', // 'launchApp',
'chooseInvoiceTitle', // 'chooseInvoiceTitle',
'checkIsSupportSoterAuthentication', // 'checkIsSupportSoterAuthentication',
'startSoterAuthentication', // 'startSoterAuthentication',
'checkIsSoterEnrolledInDevice', // 'checkIsSoterEnrolledInDevice',
'vibrate', // 'vibrate',
'loadFontFace', // 'loadFontFace',
'getExtConfig', // 'getExtConfig',
'getExtConfigSync' // 'getExtConfigSync'
]; ];
const canIUses = [ const canIUses = [
'scanCode', 'scanCode',
......
...@@ -387,65 +387,64 @@ var previewImage = { ...@@ -387,65 +387,64 @@ var previewImage = {
// 不支持的 API 列表 // 不支持的 API 列表
const todos = [ const todos = [
'createCameraContext', // 'createCameraContext',
'createLivePlayerContext', // 'createLivePlayerContext',
'getSavedFileInfo', // 'getSavedFileInfo',
'createMapContext', // 'createMapContext',
'onMemoryWarning', // 'onMemoryWarning',
'onGyroscopeChange', // 'onGyroscopeChange',
'startGyroscope', // 'startGyroscope',
'stopGyroscope', // 'stopGyroscope',
'setScreenBrightness', // 'setScreenBrightness',
'getScreenBrightness', // 'getScreenBrightness',
'addPhoneContact', // 'addPhoneContact',
'openBluetoothAdapter', // 'openBluetoothAdapter',
'startBluetoothDevicesDiscovery', // 'startBluetoothDevicesDiscovery',
'onBluetoothDeviceFound', // 'onBluetoothDeviceFound',
'stopBluetoothDevicesDiscovery', // 'stopBluetoothDevicesDiscovery',
'onBluetoothAdapterStateChange', // 'onBluetoothAdapterStateChange',
'getConnectedBluetoothDevices', // 'getConnectedBluetoothDevices',
'getBluetoothDevices', // 'getBluetoothDevices',
'getBluetoothAdapterState', // 'getBluetoothAdapterState',
'closeBluetoothAdapter', // 'closeBluetoothAdapter',
'writeBLECharacteristicValue', // 'writeBLECharacteristicValue',
'readBLECharacteristicValue', // 'readBLECharacteristicValue',
'onBLEConnectionStateChange', // 'onBLEConnectionStateChange',
'onBLECharacteristicValueChange', // 'onBLECharacteristicValueChange',
'notifyBLECharacteristicValueChange', // 'notifyBLECharacteristicValueChange',
'getBLEDeviceServices', // 'getBLEDeviceServices',
'getBLEDeviceCharacteristics', // 'getBLEDeviceCharacteristics',
'createBLEConnection', // 'createBLEConnection',
'closeBLEConnection', // 'closeBLEConnection',
'onBeaconServiceChange', // 'onBeaconServiceChange',
'onBeaconUpdate', // 'onBeaconUpdate',
'getBeacons', // 'getBeacons',
'startBeaconDiscovery', // 'startBeaconDiscovery',
'stopBeaconDiscovery', // 'stopBeaconDiscovery',
'setNavigationBarColor', // 'showNavigationBarLoading',
'showNavigationBarLoading', // 'hideNavigationBarLoading',
'hideNavigationBarLoading', // 'setTabBarItem',
'setTabBarItem', // 'setTabBarStyle',
'setTabBarStyle', // 'hideTabBar',
'hideTabBar', // 'showTabBar',
'showTabBar', // 'setTabBarBadge',
'setTabBarBadge', // 'removeTabBarBadge',
'removeTabBarBadge', // 'showTabBarRedDot',
'showTabBarRedDot', // 'hideTabBarRedDot',
'hideTabBarRedDot', // 'setBackgroundColor',
'setBackgroundColor', // 'setBackgroundTextStyle',
'setBackgroundTextStyle', // 'chooseInvoiceTitle',
'chooseInvoiceTitle', // 'addTemplate',
'addTemplate', // 'deleteTemplate',
'deleteTemplate', // 'getTemplateLibraryById',
'getTemplateLibraryById', // 'getTemplateLibraryList',
'getTemplateLibraryList', // 'getTemplateList',
'getTemplateList', // 'sendTemplateMessage',
'sendTemplateMessage', // 'setEnableDebug',
'setEnableDebug', // 'onWindowResize',
'onWindowResize', // 'offWindowResize',
'offWindowResize', // 'createOffscreenCanvas',
'createOffscreenCanvas', // 'vibrate'
'vibrate'
]; ];
// 存在兼容性的 API 列表 // 存在兼容性的 API 列表
...@@ -472,6 +471,7 @@ const canIUses = [ ...@@ -472,6 +471,7 @@ const canIUses = [
// 'openDocument', // 'openDocument',
// 'onUserCaptureScreen', // 'onUserCaptureScreen',
// 'getBackgroundAudioManager', // 'getBackgroundAudioManager',
// 'setNavigationBarColor',
]; ];
// 需要做转换的 API 列表 // 需要做转换的 API 列表
......
...@@ -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.4.7" "compilerVersion": "2.4.9"
}, },
"gitHead": "110501ffb0313e417858dec92acf07522d4ded00" "gitHead": "110501ffb0313e417858dec92acf07522d4ded00"
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册