收藏
回答

突然间就出错了啊?

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)

回答关注问题邀请回答
收藏

1 个回答

  • 大鸟
    大鸟
    2023-07-15

    // const { SSL_OP_TLS_ROLLBACK_BUG } = require("constants");

    把这个注释掉就可以了,好奇怪

    2023-07-15
    有用
    回复
登录 后发表内容