module1.mjs"; console.log(PI); 复制代码. 当运行module2.mjs时会报错: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: module2.mjs ...
確定! 回上一頁