Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 部分API不支持,修改为继承h5 #15932

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading