Skip to content

Commit

Permalink
删除掉重复项
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcuijuan committed Nov 26, 2024
1 parent ea6288f commit 522edde
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 32 deletions.
9 changes: 0 additions & 9 deletions packages/api-proxy/src/platform/api/lifecycle/index.ali.js

This file was deleted.

7 changes: 0 additions & 7 deletions packages/api-proxy/src/platform/api/lifecycle/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions packages/api-proxy/src/platform/api/lifecycle/index.web.js

This file was deleted.

8 changes: 7 additions & 1 deletion packages/api-proxy/src/platform/api/system/index.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ function getSystemInfo (options = {}) {

const getLaunchOptionsSync = envError('getLaunchOptionsSync')

const getEnterOptionsSync = envError('getEnterOptionsSync')
function getEnterOptionsSync () {
if (!isBrowser) {
throwSSRWarning('getEnterOptionsSync API is running in non browser environments')
return
}
return global.__mpxEnterOptions || {}
}

export {
getSystemInfo,
Expand Down
3 changes: 0 additions & 3 deletions packages/api-proxy/src/platform/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ export * from './api/video'
// onWindowResize, offWindowResize
export * from './api/window'

// getEnterOptionsSync
export * from './api/lifecycle'

// getLocation, openLocation, chooseLocation
export * from './api/location'

Expand Down

0 comments on commit 522edde

Please sign in to comment.