未验证 提交 8311b8be 编写于 作者: H hymzcn 提交者: GitHub

Merge pull request #331 from hymzcn/branch-1.0.2

子流程返回父流程全局变量问题修复
<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>
\ No newline at end of file
</script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册