From 8748a0ef622020b3aeb77ea7534f966b2b25d278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 4 May 2023 14:04:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/trainingAvatar/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/system/trainingAvatar/index.vue b/src/views/system/trainingAvatar/index.vue index 47b6ee5..03f1ca1 100644 --- a/src/views/system/trainingAvatar/index.vue +++ b/src/views/system/trainingAvatar/index.vue @@ -50,7 +50,7 @@ :show-file-list="false" class="upload-demo" ref="upload" - action="http://192.168.16.30:8080/system/trainingItem/uploadVideoUrl" + :action="uploadurl" :on-preview="handlePreview" :auto-upload="false" :on-change="loadJsonFromFile" @@ -113,11 +113,13 @@ export default { }, video: { VideoPath: null //回显的变量 - } + }, + uploadurl: null }; }, created() { - console.log(this.tovideo); + this.uploadurl = + process.env.VUE_APP_BASE_API + "/system/trainingItem/uploadVideoUrl"; this.uploadbtn = true; this.filedata.type = this.type; this.items = this.item;