@@ -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);
@@ -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()
@@ -8,5 +8,3 @@ actionLink: /zh/guide/
footer: MIT Licensed | Copyright © 2009-present 博锐尚格科技股份有限公司
---
-
-<PPlantUML src="/uml/test1.puml" />
@@ -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.35",
"axios": "^0.19.2",
"element-ui": "^2.12.0",