Commit 98ab27e5 authored by gongzijian's avatar gongzijian
Browse files

Merge remote-tracking branch 'upstream/branch-1.0.2' into branch-1.0.2

parents 8b7e5457 8311b8be
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
<template>
  <div class="assist-dag-model">
    <template v-if="isView">
    <template v-if="isView && isActive">
      <m-variables-view></m-variables-view>
    </template>
  </div>
@@ -11,7 +11,8 @@
    name: 'assist-dag-index',
    data () {
      return {
        isView: false
        isView: false,
        isActive: true
      }
    },
    methods: {
@@ -19,6 +20,15 @@
        this.isView = !this.isView
      }
    },
    watch: {
      '$route': {
        deep: true,
        handler () {
          this.isActive = false
          this.$nextTick(() => (this.isActive = true))
        }
      }
    },
    components: { mVariablesView }
  }
</script>