diff --git a/common/platform/PlatformFactory.js b/common/platform/PlatformFactory.js index 6861561..a664edf 100644 --- a/common/platform/PlatformFactory.js +++ b/common/platform/PlatformFactory.js @@ -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(); } }