소스 검색

修改工厂创建textitem

haojianlong 5 년 전
부모
커밋
35c02a4352
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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