项目修改与整理
This commit is contained in:
@ -323,14 +323,13 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
|
||||
// 跳转到主界面
|
||||
private void launch() {
|
||||
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);
|
||||
|
||||
Bundle bundle = intent.getExtras();
|
||||
if (intent.getBundleExtra("data") != null) {
|
||||
bundle = intent.getBundleExtra("data");
|
||||
Bundle bundle = getIntent().getExtras();
|
||||
if (getIntent().getBundleExtra("data") != null) {
|
||||
bundle = getIntent().getBundleExtra("data");
|
||||
}
|
||||
intent.putExtra("data", bundle);
|
||||
|
||||
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);
|
||||
intent.putExtra("data", bundle);
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user