Skip to content

Commit

Permalink
fix(web): 修复manifest.json内配置的地图服务商为tencent时不被正确处理的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Nov 28, 2024
1 parent 85e0ab7 commit fd1debe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/uni-h5-vite/src/plugins/manifestJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ export function uniManifestJsonPlugin(): Plugin {
sdkConfigs.maps.tencent.key
const tempQQMapKey =
sdkConfigs.maps && sdkConfigs.maps.qqmap && sdkConfigs.maps.qqmap.key
const qqMapKey =
process.env.UNI_APP_X === 'true'
? tempTencentMapKey || tempQQMapKey
: tempQQMapKey
const qqMapKey = tempTencentMapKey || tempQQMapKey

const bMapKey =
sdkConfigs.maps && sdkConfigs.maps.bmap && sdkConfigs.maps.bmap.key
Expand Down

0 comments on commit fd1debe

Please sign in to comment.