#6064·vant-weapp

兼容微信小程序3.xx.xx版本,现在只能使用2.xx.xx的基础库

Author: mireaseCreated Nov 24, 2025Updated Nov 26, 2025
Labelsbug: need confirm

重现链接

TypeError: nv_memoize is not a function at n (appservice.js:513) at Object.u (appservice.js:513) at t (appservice.js:21) at Object.vant-weapp/wxs/utils (appservice.js:21) at appservice.js:519 at appservice.js:519 at jt.batchAddCompiledTemplate (WAServiceMainContext.js?t=wechat&v=3.11.2:1) at appservice.js:514 at doWhenAllScriptLoaded (getmainpackage.js:763) at getmainpackage.js:832(env: Windows,mp,1.06.2504040; lib: 3.11.2) TypeError: nv_memoize is not a function at n (appservice.js:513) at Object.u (appservice.js:513) at t (appservice.js:21) at Object.vant-weapp/wxs/utils (appservice.js:21) at appservice.js:519 at appservice.js:519 at jt.batchAddCompiledTemplate (WAServiceMainContext.js?t=wechat&v=3.11.2:1) at appservice.js:514 at doWhenAllScriptLoaded (getmainpackage.js:763) at getmainpackage.js:832(env: Windows,mp,1.06.2504040; lib: 3.11.2) Component is not found in path "wx://not-found".(env: Windows,mp,1.06.2504040; lib: 3.11.2)

Vant Weapp 版本

1.11.7

描述一下你遇到的问题。

突然不兼容微信小程序3.xx.xx版本,现在只能使用2.xx.xx的基础库,不然就会编译报错

重现步骤

TypeError: nv_memoize is not a function at n (appservice.js:513) at Object.u (appservice.js:513) at t (appservice.js:21) at Object.vant-weapp/wxs/utils (appservice.js:21) at appservice.js:519 at appservice.js:519 at jt.batchAddCompiledTemplate (WAServiceMainContext.js?t=wechat&v=3.11.2:1) at appservice.js:514 at doWhenAllScriptLoaded (getmainpackage.js:763) at getmainpackage.js:832(env: Windows,mp,1.06.2504040; lib: 3.11.2) TypeError: nv_memoize is not a function at n (appservice.js:513) at Object.u (appservice.js:513) at t (appservice.js:21) at Object.vant-weapp/wxs/utils (appservice.js:21) at appservice.js:519 at appservice.js:519 at jt.batchAddCompiledTemplate (WAServiceMainContext.js?t=wechat&v=3.11.2:1) at appservice.js:514 at doWhenAllScriptLoaded (getmainpackage.js:763) at getmainpackage.js:832(env: Windows,mp,1.06.2504040; lib: 3.11.2) Component is not found in path "wx://not-found".(env: Windows,mp,1.06.2504040; lib: 3.11.2)

设备/浏览器

微信开发者工具中