mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-12-08 17:38:44 +00:00
[adapters] 增加小游戏适配部分源码
This commit is contained in:
9
adapters/platforms/bytedance/wrapper/builtin/Image.js
Normal file
9
adapters/platforms/bytedance/wrapper/builtin/Image.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import HTMLImageElement from './HTMLImageElement'
|
||||
|
||||
export default function() {
|
||||
const image = tt.createImage();
|
||||
|
||||
// image.__proto__.__proto__.__proto__ = new HTMLImageElement();
|
||||
|
||||
return image;
|
||||
};
|
||||
Reference in New Issue
Block a user