Authored by 陈峰

commit

... ... @@ -9,7 +9,6 @@ const serverConfig = require('./webpack.server.conf');
const pkg = require('../package.json');
const distDir = path.join(__dirname, `../public/dist/${pkg.name}`);
console.log(clientConfig.output.path)
rm(path.join(clientConfig.output.path), err => {
if (err) {
... ...
{
"name": "yohoblk-wap",
"version": "2.0.18",
"version": "92.0.19",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
const config = {
development: {
axiosBaseUrl: 'http://m.yohoblk.com/',
axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : 'http://m.yohoblk.com/',
axiosResponseType: 'json',
},
production: {
axiosBaseUrl: 'http://m.yohoblk.com/',
axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : 'http://m.yohoblk.com/',
axiosResponseType: 'json',
}
};
export default config[process.env.NODE_ENV];
... ...
... ... @@ -117,9 +117,8 @@ export default {
img.onload = () => {
setTimeout(() => {
this.show = true;
}, 500)
}, 500);
};
console.log(this.goodsList[0].color_image);
img.src = this.goodsList[0].color_image;
}
}
... ...