haojianlong 4 years ago
parent
commit
773e97e7b4
2 changed files with 8 additions and 8 deletions
  1. 3 3
      docs/.vuepress/config.js
  2. 5 5
      docs/guides/scene/items/svg.md

+ 3 - 3
docs/.vuepress/config.js

@@ -90,15 +90,15 @@ module.exports = {
                 text: "API参考",
                 items: [{
                         text: "图形引擎",
-                        link: "http://adm.sagacloud.cn:8080/api/web/graph/"
+                        link: "http://doc.sagacloud.cn/api/web/graph/"
                     },
                     {
                         text: "建筑信息图",
-                        link: "http://adm.sagacloud.cn:8080/api/web/big/"
+                        link: "http://doc.sagacloud.cn/api/web/big/"
                     },
                     {
                         text: "编辑器",
-                        link: "http://adm.sagacloud.cn:8080/api/web/edit/"
+                        link: "http://doc.sagacloud.cn/api/web/edit/"
                     }
                 ]
             }

+ 5 - 5
docs/guides/scene/items/svg.md

@@ -17,10 +17,10 @@
 示例中展示了传入``` SGraphSvgItem ```的数据格式
 ```json5
 {
-    Url: 'https://cdn-img.easyicon.net/image/2019/panda-search.svg',    // svg 图片的路径
-    X: 100, // 该 item 的位置 x 坐标
-    Y: 100, // 该 item 的位置 y 坐标                                                                  
-    Width: 200, // 该 item 宽
-    Height: 200 // 该 item 高
+    url: 'https://cdn-img.easyicon.net/image/2019/panda-search.svg',    // svg 图片的路径
+    x: 100, // 该 item 的位置 x 坐标
+    y: 100, // 该 item 的位置 y 坐标                                                                  
+    width: 200, // 该 item 宽
+    height: 200 // 该 item 高
 }
 ```