فهرست منبع

修改绘制问题

haojianlong 4 سال پیش
والد
کامیت
2c14973c94
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/views/legendLibrary/addForm.vue

+ 3 - 1
src/views/legendLibrary/addForm.vue

@@ -303,9 +303,11 @@ export default {
             this.view.strokecolor = this.ruleForm.Color
             this.view.lineType = this.ruleForm.LineDash
             this.view.lineWidth = this.ruleForm.LineWidth
-            if (this.ruleForm.Url) {
+            if (this.ruleForm.Url && type == 2) {
                 let url = `/serve/topology-wanda/Picture/query/${this.ruleForm.Url}`
                 this.view.url = url
+            } else {
+                this.view.url = ''
             }
         },
         initGraph() {