@zhongguo168a/yxeditor-common 0.0.97 → 0.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -5299,7 +5299,7 @@ class AssetLoader extends Dispatcher {
5299
5299
  }
5300
5300
  case 1: {
5301
5301
  let suffix = "";
5302
- if (type instanceof Texture2D) {
5302
+ if (item.type == "Texture2D") {
5303
5303
  suffix = "@6c48a";
5304
5304
  }
5305
5305
  if (item.preload) {