|
@@ -7,6 +7,7 @@ export class DataService {
|
|
|
step2: 250,
|
|
|
defalutstep1: 50,
|
|
|
defalutstep2: 250,
|
|
|
+ display: true,
|
|
|
};
|
|
|
this.vectorData = {};
|
|
|
this.currentId = 0; // 当前可用id
|
|
@@ -35,6 +36,14 @@ export class DataService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ setGridDisplay(value) {
|
|
|
+ this.grid.display = value;
|
|
|
+ }
|
|
|
+
|
|
|
+ getGridDisplay() {
|
|
|
+ return this.grid.display;
|
|
|
+ }
|
|
|
+
|
|
|
setCurrentId(id) {
|
|
|
this.currentId = id;
|
|
|
}
|