Преглед изворни кода

Merge remote-tracking branch 'origin/master' into master

shaun-sheep пре 4 година
родитељ
комит
172f0a395c

+ 1 - 1
docs/.vuepress/components/scene/items/ImageItem.vue

@@ -30,7 +30,7 @@
         mounted() {
             const view = new SGraphView(this.id);
             const scene = new SGraphScene();
-            const item = new Img(null, {Url: this.url, X: 0, Y: 0, Width: 100, Height: 100});
+            const item = new Img(null, {url: this.url, x: 0, y: 0, width: 100, height: 100});
             item.selectable = true;
             view.scene = scene;
             scene.addItem(item);

+ 5 - 5
docs/.vuepress/components/scene/items/svg.vue

@@ -16,11 +16,11 @@
         svgData = {
             // https://desk-fd.zol-img.com.cn/t_s2560x1600c5/g6/M00/0B/0E/ChMkKV9N5U2IfX_aAA-zeHRQZW8AABvcADsv-0AD7OQ688.jpg
             // Url: 'https://cdn-img.easyicon.net/image/2019/panda-search.svg',
-            Url: require('../../../public/assets/img/1.svg'),
-            X: 100,
-            Y: 100,
-            Width: 200,
-            Height: 200
+            url: require('../../../public/assets/img/1.svg'),
+            x: 100,
+            y: 100,
+            width: 200,
+            height: 200
         };
         private mounted(): void {
             this.init()

+ 2 - 1
docs/.vuepress/config.js

@@ -140,5 +140,6 @@ module.exports = {
                 }
             }
         }
-    }
+    },
+
 };

+ 0 - 2
docs/README.md

@@ -8,5 +8,3 @@ actionLink: /zh/guide/
 
 footer: MIT Licensed | Copyright © 2009-present 博锐尚格科技股份有限公司
 ---
-
-<PPlantUML src="/uml/test1.puml" />

+ 5 - 5
docs/guides/engine/README.md

@@ -10,31 +10,31 @@
 
 多引擎结构
 
-<PPlantUML src="/uml/mutli-engine.puml" />
+<PPlantUML :src="$withBase('/uml/mutli-engine.puml')" />
 
 ---
 
 绘制结构
 
-<PPlantUML src="/uml/draw-structure.puml" />
+<PPlantUML :src="$withBase('/uml/draw-structure.puml')" />
 
 ---
 
 画刷实现结构
 
-<PPlantUML src="/uml/brush-structure.puml" />
+<PPlantUML :src="$withBase('/uml/brush-structure.puml')" />
 
 ---
 
 画笔实现结构
 
-<PPlantUML src="/uml/pen-structure.puml" />
+<PPlantUML :src="$withBase('/uml/pen-structure.puml')" />
 
 ---
 
 文本实现结构
 
-<PPlantUML src="/uml/text-structure.puml" />
+<PPlantUML :src="$withBase('/uml/text-structure.puml')" />
 
 ---
 

+ 2 - 2
package.json

@@ -13,9 +13,9 @@
   },
   "dependencies": {
     "@persagy-web/base": "2.2.1",
-    "@persagy-web/big": "2.2.9",
+    "@persagy-web/big": "2.2.16",
     "@persagy-web/draw": "2.2.6",
-    "@persagy-web/graph": "2.2.13",
+    "@persagy-web/graph": "2.2.21",
     "@persagy-vue/doc": "1.1.36",
     "axios": "^0.19.2",
     "element-ui": "^2.12.0",