diff --git a/pal/wasm/wasm-minigame.ts b/pal/wasm/wasm-minigame.ts index 687babefc42..6068640e850 100644 --- a/pal/wasm/wasm-minigame.ts +++ b/pal/wasm/wasm-minigame.ts @@ -119,11 +119,7 @@ function getPlatformBinaryUrl (binaryUrl: string): Promise { if (XIAOMI) { resolve(`src/cocos-js/${binaryUrl}`); } if (TAOBAO_MINIGAME && WASM_SUBPACKAGE) { - if (minigame.isDevTool) { - resolve(`cocos-js/${binaryUrl}`); - } else { - resolve(`__ccWasmAssetSubpkg__/${basename(binaryUrl)}`); - } + resolve(`__ccWasmAssetSubpkg__/${basename(binaryUrl)}`); } else { resolve(`cocos-js/${binaryUrl}`); } diff --git a/platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/localStorage.js b/platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/localStorage.js index 7f4ed0de2d8..700d3be730c 100644 --- a/platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/localStorage.js +++ b/platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/localStorage.js @@ -26,7 +26,7 @@ const localStorage = { }, removeItem(key) { - my.removeStorageSync(key) + my.removeStorageSync({ key }) }, clear() {