修改兼容
This commit is contained in:
parent
a5393132e9
commit
6feb2b39b9
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user