zhangzengfei
2020-10-21 71d60021293af3830311c90f2e278e10dd275ec1
修改数据栈图片底图路径
1个文件已修改
16 ■■■■ 已修改文件
src/components/canvas/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/canvas/index.vue
@@ -95,15 +95,15 @@
      default: 324
    }
  },
  computed:{
    canvasBg(){
      if(this.snapshot_url){
        if(this.sourceType == 2){
          return `/files/${this.snapshot_url}`
        }else{
  computed: {
    canvasBg() {
      if (this.snapshot_url) {
        if (this.sourceType == 2) {
          return `${this.snapshot_url}`
        } else {
          return `/httpImage/${this.snapshot_url}`
        }
      }else{
      } else {
        return this.blackImg;
      }
    }
@@ -494,7 +494,7 @@
};
</script>
<style lang="scss" scoped>
canvas{
canvas {
  position: absolute;
  top: 0;
  left: 0;