提交 30118f5b 编写于 作者: 雪洛's avatar 雪洛

update: 修改运行到H5的提示

上级 bfa4821c
...@@ -251,7 +251,7 @@ module.exports = (api, options) => { ...@@ -251,7 +251,7 @@ module.exports = (api, options) => {
if (!isProduction) { if (!isProduction) {
if (process.UNI_CLOUD) { if (process.UNI_CLOUD) {
console.warn(`当前项目使用了uniCloud,为避免云函数调用跨域问题,建议在HBuilderX内置浏览器里调试,如使用外部浏览器需安装跨域插件,详见:https://ask.dcloud.net.cn/article/35267`) console.warn(`当前项目使用了uniCloud,为避免云函数调用跨域问题,建议在HBuilderX内置浏览器里调试,如使用外部浏览器需处理跨域,详见:https://uniapp.dcloud.io/uniCloud/quickstart-H5`)
} }
// const buildCommand = hasProjectYarn(api.getCwd()) ? `yarn build` : `npm run build` // const buildCommand = hasProjectYarn(api.getCwd()) ? `yarn build` : `npm run build`
// console.log(` Note that the development build is not optimized.`) // console.log(` Note that the development build is not optimized.`)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册