chenxr3 4 年之前
父节点
当前提交
f5a7ef17bd
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      ebc-middle-platform/src/modules/orientation/orientation.vue

+ 10 - 10
ebc-middle-platform/src/modules/orientation/orientation.vue

@ -270,16 +270,16 @@ export default {
270 270
      orgId: ''
271 271
    }
272 272
  },
273
  beforeRouteEnter(to, form, next) {
274
    console.log(form)
275
    if (form.path != '/refresh') {
276
      next(vm => {
277
        vm.$router.replace('/refresh')
278
      })
279
    } else {
280
      next()
281
    }
282
  },
273
  // beforeRouteEnter(to, form, next) {
274
  //   console.log(form)
275
  //   if (form.path != '/refresh') {
276
  //     next(vm => {
277
  //       vm.$router.replace('/refresh')
278
  //     })
279
  //   } else {
280
  //     next()
281
  //   }
282
  // },
283 283
  mounted() {
284 284
    // this.getGisToken().then(() => { // 获取gistoken后加载地图
285 285
    // })