|
@@ -4,9 +4,6 @@ Parse.initialize("dev");
|
|
|
(Parse as any).serverURL = 'http://web2023.fmode.cn:9999/parse'
|
|
|
import * as Parse from 'parse';
|
|
|
import { NavController } from '@ionic/angular';
|
|
|
-
|
|
|
-import { Router } from '@angular/router';
|
|
|
-
|
|
|
// constructor(private Router: Router) {}
|
|
|
@Component({
|
|
|
selector: 'app-dynamic',
|
|
@@ -19,11 +16,11 @@ export class DynamicPage implements OnInit {
|
|
|
newBiaoti: string = ''; // 新增的属性
|
|
|
newNeirong: string = ''; // 新增的属性
|
|
|
newTime: string = ''; // 新增的属性
|
|
|
- navCtrl: any;
|
|
|
- navController: any;
|
|
|
+ // navCtrl: any;
|
|
|
+ // navController: any;
|
|
|
|
|
|
-
|
|
|
- constructor(private parseService: ParseService) { }
|
|
|
+ constructor(private navCtrl: NavController,private parseService: ParseService) { }
|
|
|
+ // constructor(private parseService: ParseService) { }
|
|
|
|
|
|
ngOnInit() {
|
|
|
this.loadDongTai();
|
|
@@ -56,7 +53,8 @@ export class DynamicPage implements OnInit {
|
|
|
async submitDongTai() {
|
|
|
console.log(111);
|
|
|
// this.navCtrl.navigateForward('../../app/tab3');
|
|
|
- this.navController.back();
|
|
|
+ this.navCtrl.back();
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|