| | |
| | | <script> |
| | | import { deepClone, RESOURCE_TYPE } from "@/utils/helper"; |
| | | import videoManagement from "@/api/operate/videoManagement"; |
| | | import { FILE_ORIGINAL_URL } from "@/utils"; |
| | | import { FILE_ORIGINAL_PATH} from "@/utils"; |
| | | import imageManagement from "@/api/operate/imageManagement"; |
| | | |
| | | export default { |
| | |
| | | imageManagement.importImage(formData) |
| | | .then(res => { |
| | | const url = res.url1 ?? res.url2 ?? res.url3 ?? res.url4; |
| | | const videoUrl = FILE_ORIGINAL_URL + url; |
| | | const videoUrl = FILE_ORIGINAL_PATH + url; |
| | | this.videoList.push(videoUrl); |
| | | this.$set(this.videoData, 'url', this.videoList.join(',')); |
| | | this.$message.success('上传成功'); |
| | |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | |
| | | } |
| | | |
| | | .updateUser::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | |