forked from github/dataease
Merge pull request #365 from dataease/pr@dev@fix_数据集切换页面权限问题
fix: 数据集切换页面权限问题
This commit is contained in:
commit
f1aac17711
@ -258,7 +258,7 @@ export default {
|
|||||||
type: 'excel',
|
type: 'excel',
|
||||||
mode: parseInt(this.mode),
|
mode: parseInt(this.mode),
|
||||||
// info: '{"data":"' + this.path + '"}',
|
// info: '{"data":"' + this.path + '"}',
|
||||||
info: JSON.stringify({ data: this.path, sheets: [this.sheets[0]]}),
|
info: JSON.stringify({ data: this.path, sheets: [this.sheets[0]] }),
|
||||||
fields: this.fields
|
fields: this.fields
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -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: '' })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user