diff --git a/.env.production b/.env.production index c91c4a9..51c588c 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,8 @@ VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = '/test-api' # VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.230:9999' +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +# VUE_APP_BASE_TARGET = 'http://192.168.0.230:9999' # VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' # VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/prod-api' diff --git a/dist.zip b/dist.zip deleted file mode 100644 index b57c417..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/components/ImgUpload/index.vue b/src/components/ImgUpload/index.vue index 4270524..d6a27ec 100644 --- a/src/components/ImgUpload/index.vue +++ b/src/components/ImgUpload/index.vue @@ -149,7 +149,6 @@ export default { // 删除时方法 handelDelete(file, fileList) { console.log('删除接口', this.filePath, file, fileList) - this.$emit('fileChange','') this.filePath = '' }, clearImages() { @@ -160,7 +159,7 @@ export default { // 上传成功 handleSuccess(response, file) { this.value.push(response.fileName) - this.$emit('fileChange',this.upfileName) + // this.$emit('fileChange',this.upfileName) // this.filePath='' // this.handelDelete() }, diff --git a/src/views/trainService/swiperManager.vue b/src/views/trainService/swiperManager.vue index 55db130..8ef8f51 100644 --- a/src/views/trainService/swiperManager.vue +++ b/src/views/trainService/swiperManager.vue @@ -122,7 +122,7 @@ export default { "3": "师资培训班" }, platform: { - "pc": "客户端", + "pc": "pc", "app": "小程序", }, // 总条数 @@ -229,7 +229,7 @@ export default { }, async submit() { const data = deepClone(this.swiperInfo) - data.filePath = data.filePath.toString() + data.filePath = data.filePath[data.filePath.length-1].toString() data.entityId = data.entityId * 1 const res = await addSwiperInfo(data) if (res.code == 200) {