haojianlong 5 gadi atpakaļ
vecāks
revīzija
0292d6bda4

+ 1 - 1
src/assets/graphy/SGraphy/mainScene.js

@@ -194,7 +194,7 @@ var mainScene = /** @class */ (function (_super) {
         var _this_1 = this;
         if (imageList && imageList.length) {
             imageList.map(function (t) {
-                _this_1.addItem(new SGraphyImgItem(null, t.X, t.Y, t.width, t.height));
+                _this_1.addItem(new SGraphyImgItem(null, t.img, t.X, t.Y, t.width, t.height));
             });
         }
     };

+ 1 - 1
src/assets/graphy/SGraphy/mainScene.ts

@@ -182,7 +182,7 @@ export default class mainScene extends SGraphyScene {
     addImageList(imageList: ImgItemInterface[]): void {
         if (imageList && imageList.length) {
             imageList.map(t => {
-                this.addItem(new SGraphyImgItem(null, t.X, t.Y, t.width, t.height))
+                this.addItem(new SGraphyImgItem(null, t.img, t.X, t.Y, t.width, t.height))
             })
         }
     }