diff --git a/src/views/modules/shop/shopproduct-add-or-update.vue b/src/views/modules/shop/shopproduct-add-or-update.vue index f7c6639..9514be5 100644 --- a/src/views/modules/shop/shopproduct-add-or-update.vue +++ b/src/views/modules/shop/shopproduct-add-or-update.vue @@ -594,6 +594,7 @@ }, handleRemove(file, fileList) { this.dataForm.productImages = ''; + this.fileList = [] this.dataForm.noneBtnImg = fileList.length >= this.dataForm.limitCountImg; }, handlereset() { diff --git a/static/config/index.js b/static/config/index.js index 1e28d0a..62f3a43 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -7,8 +7,8 @@ // api接口请求地址 // window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb'; // window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb'; - window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境 - // window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb'; + // window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境 + window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb'; // window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb'; // cdn地址 = 域名 + 版本号