diff --git a/src/components/designer/k8s-modeling/istio-element/VirtualService.vue b/src/components/designer/k8s-modeling/istio-element/VirtualService.vue index 50748ea..9a7d46b 100644 --- a/src/components/designer/k8s-modeling/istio-element/VirtualService.vue +++ b/src/components/designer/k8s-modeling/istio-element/VirtualService.vue @@ -226,10 +226,11 @@ var me = this; me.value.object.spec.http = []; me.value.outboundServices.forEach(element => { + var path = element.path || "/"; me.value.object.spec.http.push({ "match": [{ "uri": { - "prefix": "/" + "prefix": path } }], "route": [{