Authored by 陈峰

shops

... ... @@ -6,7 +6,7 @@
<script>
export default {
created() {
window.open(`${this.$config.shopsFeDomain}/shop/decorator/modulartool?shopId=${this.$user.currentShop.shopsId}&shopName=${this.$user.currentShop.shopName}&appType=0`); // eslint-disable-line
window.open(`/shops-proxy/decorator/modulartool?shopId=${this.$user.currentShop.shopsId}&shopName=${this.$user.currentShop.shopName}&appType=0`); // eslint-disable-line
}
};
</script>
... ...
... ... @@ -13,7 +13,7 @@ export default {
let shop = _.get(result, 'data.list[0]');
if (shop) {
window.open(`${this.$config.shopsFeDomain}/supplier/shop/decorationDetail/${shop.shopsId}/${shop.shopsType}/editor/${shop.id}/`); // eslint-disable-line
window.open(`/shops-proxy/shop/decorationDetail/${shop.shopsId}/${shop.shopsType}/editor/${shop.id}/`); // eslint-disable-line
}
});
}
... ...
... ... @@ -21,7 +21,7 @@ module.exports = {
},
port: 6008,
autoOpenBrowser: true,
assetsSubDirectory: 'static',
assetsSubDirectory: 'static-dev',
assetsPublicPath: '/',
proxyTable: {
'/Api': 'http://localhost:6007'
... ...