| | |
| | | <script> |
| | | import MyUpload from "@/components/myUpload" |
| | | import { deepClone } from "@/utils/helper"; |
| | | import { FILE_ORIGINAL_URL } from "@/utils"; |
| | | import { FILE_ORIGINAL_PATH } from "@/utils"; |
| | | export default { |
| | | components: { |
| | | MyUpload |
| | |
| | | setPicUrl({ url }) { |
| | | const baseUrl = ''; |
| | | if (this.arrive.situationPic.length < 4) { |
| | | |
| | | url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","") |
| | | this.arrive.situationPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`) |
| | | |
| | | this.arrive.situationPic.push(FILE_ORIGINAL_PATH + url) |
| | | } |
| | | }, |
| | | //删除图片 |