Skip to content

Commit

Permalink
Revert "feat(harmony): getLocation实现统一"
Browse files Browse the repository at this point in the history
This reverts commit 2575a0b.
  • Loading branch information
Wangyaqi committed Feb 27, 2025
1 parent f93642d commit f4bb5a8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/uni-app-harmony/src/compiler/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,13 @@ interface ProviderInfo {
/**
* 鸿蒙getLocation system支持gcj02和地理位置解析,按理说没有使用其他provider的需求,因此system内置
*/
const DefaultModule = {
'uni-getLocation': {
system: {},
},
}
const DefaultModule = isX
? {
'uni-getLocation': {
system: {},
},
}
: {}

function getManifestModules(inputDir: string) {
const manifest = parseManifestJsonOnce(inputDir)
Expand Down

0 comments on commit f4bb5a8

Please sign in to comment.