修改兼容

This commit is contained in:
zpc 2025-06-20 16:18:07 +08:00
parent a5393132e9
commit 6feb2b39b9

View File

@ -1,7 +1,7 @@
import BasePlatform from './BasePlatform.js';
//#ifdef APP
import AppPlatform from './AppPlatform';
//#ifdef APP
// import AppPlatform from './AppPlatform';
//#endif
class PlatformFactory {
@ -12,7 +12,7 @@ class PlatformFactory {
return new AppPlatform();
//#endif
// 默认返回
return new BasePlatform();
return new AppPlatform();
}
}