config.js里怎么配置,配置好后又怎么知道打的包是开发环境的包还是生产环境的包? app是不是不能打包?有人试过么? "image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241225/7ca7af0f7d7f556629a1a312b2e0b286.png)
区域 位置 操作 const ref1 = ref(); const ref2 = ref(); const ref3 = ref(); const refApi = { ref: 'ref3' }; console.log(ref1, ref2, ref3); 在开发环境下 "ref1, ref2, ref3" 皆符合预期指向 "span" 。 但是打包后的生产环境就只有 "ref1" 正常指向 "span" , "ref2, ref3" 皆为 "undefined"。 为什么表现不一致?