Browse Source

修改工厂创建textitem

haojianlong 5 years ago
parent
commit
35c02a4352
1 changed files with 1 additions and 1 deletions
  1. 1 1
      saga-web-big/src/factories/SItemFactory.ts

+ 1 - 1
saga-web-big/src/factories/SItemFactory.ts

@@ -113,6 +113,6 @@ export class SItemFactory {
      * @param   data    文本数据
      * */
     createText(data: TextData): STextItem {
-        return new STextItem(null, data);
+        return new STextItem(null);
     } // Function createImage()
 } // class SItemFactory