This commit is contained in:
wangliwen 2022-04-25 17:31:53 +08:00
parent 6768f8567f
commit 2ff2137b81
1 changed files with 0 additions and 5 deletions

View File

@ -372,11 +372,6 @@ var SaveModelCtrl = [ '$rootScope', '$scope', '$http', '$route', '$location',
// Parse dom to string // Parse dom to string
var svgDOM = DataManager.serialize(svgClone); var svgDOM = DataManager.serialize(svgClone);
// Glen: modify for save error.
svgDOM = svgDOM.replace(/marker-start="url("#/g,"marker-start="url(#").replace(/start")"/g,"start)"");
svgDOM = svgDOM.replace(/marker-mid="url("#/g,"marker-mid="url(#").replace(/mid")"/g,"mid)"");
svgDOM = svgDOM.replace(/marker-end="url("#/g,"marker-end="url(#").replace(/end")"/g,"end)"");
var params = { var params = {
json_xml: json, json_xml: json,
svg_xml: svgDOM, svg_xml: svgDOM,