Skip to content

Commit

Permalink
Merge pull request #15933 from licunhao1/4.x
Browse files Browse the repository at this point in the history
fix: 部分API不支持,修改为继承h5
  • Loading branch information
qican777 authored Jun 19, 2024
2 parents 8422355 + c2355d0 commit bbf7ced
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 200 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export default class Index extends React.Component {
password: 'lwh123456',
},
func: (apiIndex, data) => {
TestConsole.consoleTest('connectWifi')
Taro.connectWifi({
...data,
success: (res) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,7 @@
"tcpNoDelay": true
}
},
"connectWifi": {
"object": {
"SSID": true,
"password": true,
"BSSID": true
}
},
"connectWifi": false,
"console": {
"debug": true,
"error": true,
Expand Down Expand Up @@ -1237,7 +1231,7 @@
}
},
"getWeRunData": false,
"getWifiList": true,
"getWifiList": false,
"getWindowInfo": {
"return": {
"pixelRatio": true,
Expand Down Expand Up @@ -1331,13 +1325,7 @@
}
},
"navigateToBookshelf": false,
"navigateToMiniProgram": {
"object": {
"appId": true,
"path": true,
"extraData": true
}
},
"navigateToMiniProgram": false,
"nextTick": true,
"notifyBLECharacteristicValueChange": {
"object": {
Expand Down Expand Up @@ -1979,7 +1967,7 @@
"resultJSONSignature": true
}
},
"startWifi": true,
"startWifi": false,
"stopAccelerometer": true,
"stopBackgroundAudio": false,
"stopBeaconDiscovery": false,
Expand All @@ -1994,7 +1982,7 @@
"stopPullDownRefresh": true,
"stopRecord": false,
"stopVoice": false,
"stopWifi": true,
"stopWifi": false,
"subscribeService": false,
"subscribeVoIPVideoMembers": false,
"switchTab": {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
export * from './connectWifi'
export * from './getConnectedWifi'
export * from './getWifiList'
export * from './offGetWifiList'
export * from './offWifiConnected'
export * from './offWifiConnectedWithPartialInfo'
export * from './onGetWifiList'
export * from './onWifiConnected'
export * from './onWifiConnectedWithPartialInfo'
export * from './startWifi'
export * from './stopWifi'

/**
* Wifi 信息(native 返回)
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit bbf7ced

Please sign in to comment.