| | |
| | | computed: { |
| | | canvasBg() { |
| | | if (this.snapshot_url) { |
| | | if (this.sourceType == 2) { |
| | | return `${this.snapshot_url}` |
| | | } else { |
| | | return `/httpImage/${this.snapshot_url}` |
| | | // 数据栈自动上传处理 |
| | | if (this.snapshot_url.indexOf("/opt/vasystem") == 0) { |
| | | return this.snapshot_url.replace("/opt/vasystem", ""); |
| | | } |
| | | |
| | | if (this.sourceType == 2) { |
| | | return `${this.snapshot_url}`; |
| | | } else { |
| | | return `/httpImage/${this.snapshot_url}`; |
| | | } |
| | | |
| | | } else { |
| | | return this.blackImg; |
| | | } |
| | |
| | | this.$nextTick(() => { |
| | | // this.$refs.bigCanvas.delCursor = {} |
| | | }) |
| | | |
| | | |
| | | }, |
| | | cancelFunc() { |
| | | this.visible = false; |