feat(jzd,jzx):界址点、线保存后重新加载
Showing
2 changed files
with
4 additions
and
0 deletions
| ... | @@ -166,6 +166,7 @@ | ... | @@ -166,6 +166,7 @@ |
| 166 | }, | 166 | }, |
| 167 | mounted() { | 167 | mounted() { |
| 168 | let bsm = this.$store.state.zdbsm | 168 | let bsm = this.$store.state.zdbsm |
| 169 | this.bsm=bsm; | ||
| 169 | this.getData(bsm) | 170 | this.getData(bsm) |
| 170 | }, | 171 | }, |
| 171 | methods: { | 172 | methods: { |
| ... | @@ -260,6 +261,7 @@ | ... | @@ -260,6 +261,7 @@ |
| 260 | computed: {}, | 261 | computed: {}, |
| 261 | watch: { | 262 | watch: { |
| 262 | "$store.state.zdbsm": function (bsm) { | 263 | "$store.state.zdbsm": function (bsm) { |
| 264 | this.bsm=bsm | ||
| 263 | this.getData(bsm) | 265 | this.getData(bsm) |
| 264 | } | 266 | } |
| 265 | }, | 267 | }, | ... | ... |
| ... | @@ -233,6 +233,7 @@ | ... | @@ -233,6 +233,7 @@ |
| 233 | }, | 233 | }, |
| 234 | mounted() { | 234 | mounted() { |
| 235 | let bsm = this.$store.state.zdbsm | 235 | let bsm = this.$store.state.zdbsm |
| 236 | this.bsm=bsm; | ||
| 236 | this.getData(bsm) | 237 | this.getData(bsm) |
| 237 | }, | 238 | }, |
| 238 | methods: { | 239 | methods: { |
| ... | @@ -327,6 +328,7 @@ | ... | @@ -327,6 +328,7 @@ |
| 327 | computed: {}, | 328 | computed: {}, |
| 328 | watch: { | 329 | watch: { |
| 329 | "$store.state.zdbsm": function (bsm) { | 330 | "$store.state.zdbsm": function (bsm) { |
| 331 | this.bsm=bsm; | ||
| 330 | this.getData(bsm) | 332 | this.getData(bsm) |
| 331 | } | 333 | } |
| 332 | }, | 334 | }, | ... | ... |
-
Please register or sign in to post a comment