From 3c46fcdb8c6217ff97e98c33d8f1e6e9b9cc7c1b Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期一, 02 十一月 2020 19:27:18 +0800
Subject: [PATCH] 桌面图标自适应,应用中心添加升级角标;应用中心算法卸载联调,tab名称更新;统计查询(集群)场景查询参数更新

---
 src/components/canvas/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/components/canvas/index.vue b/src/components/canvas/index.vue
index cd8f3b5..cc30349 100644
--- a/src/components/canvas/index.vue
+++ b/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;

--
Gitblit v1.8.0