|
@@ -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() {
|