fix: 数据集切换页面权限问题

This commit is contained in:
junjie 2021-07-27 19:19:35 +08:00
parent f952c1f0f1
commit f7132e9e71

View File

@ -285,7 +285,7 @@ export default {
this.dataReset() this.dataReset()
// this.$router.push('/dataset/home') // this.$router.push('/dataset/home')
if (this.param.tableId) { if (this.param.tableId) {
this.$emit('switchComponent', { name: 'ViewTable', param: { id: this.param.tableId }}) this.$emit('switchComponent', { name: 'ViewTable', param: this.param.table })
} else { } else {
this.$emit('switchComponent', { name: '' }) this.$emit('switchComponent', { name: '' })
} }