diff --git a/.env.development b/.env.development index aba5366..316d24c 100644 --- a/.env.development +++ b/.env.development @@ -3,10 +3,10 @@ ENV = 'development' # base api # VUE_APP_BASE_API = 'http://192.168.31.106:8324' -VUE_APP_BASE_API = 'https://test.shop.lihaink.cn' +VUE_APP_BASE_API = 'https://crmeb-test.shop.lihaink.cn/' # socket 连接地址 -VUE_APP_WS_URL = 'ws://test.shop.lihaink.cn' +VUE_APP_WS_URL = 'ws://crmeb-test.shop.lihaink.cn/' # VUE_APP_WS_URL = 'ws://mer1.crmeb.net' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, diff --git a/src/views/product/addProduct/index.vue b/src/views/product/addProduct/index.vue index 97b2ce7..6441ce4 100644 --- a/src/views/product/addProduct/index.vue +++ b/src/views/product/addProduct/index.vue @@ -2914,7 +2914,9 @@ export default { pay_limit: info.pay_limit || 0, refund_switch: info.refund_switch, extension_type: info.extension_type, - content: info.content, + content: info.content || { + image: [] + }, spec_type: Number(info.spec_type), give_coupon_ids: info.give_coupon_ids, is_gift_bag: info.is_gift_bag,