test是我的主页
VM1654:4972 页面【pages/test/test]错误:
Error: module 'pages/test/constants.js' is not defined, require args is 'constants'
at y (WASubContext.js?t=wechat&s=1689402026484&v=2.20.3:2)
at r (WASubContext.js?t=wechat&s=1689402026484&v=2.20.3:2)
at test.js? [sm]:1
at y (WASubContext.js?t=wechat&s=1689402026484&v=2.20.3:2)
at <anonymous>:4969:7
at doWhenAllScriptLoaded (<anonymous>:5270:21)
at Object.scriptLoaded (<anonymous>:5298:5)
at Object.<anonymous> (<anonymous>:5323:22)(env: Windows,mp,1.06.2306281; lib: 2.20.3)
// const { SSL_OP_TLS_ROLLBACK_BUG } = require("constants");
把这个注释掉就可以了,好奇怪