feature(资料中心): 打开新页签跳转详情
This commit is contained in:
@@ -850,13 +850,14 @@ export default {
|
|||||||
this.sideClose = !this.sideClose
|
this.sideClose = !this.sideClose
|
||||||
},
|
},
|
||||||
toDetail (row) {
|
toDetail (row) {
|
||||||
this.$router.push({
|
const routerUrl = this.$router.resolve({
|
||||||
name: 'dataCenterDetail',
|
name: 'dataCenterDetail',
|
||||||
query: {
|
query: {
|
||||||
id: row.id,
|
id: row.id,
|
||||||
treeId: this.treeId
|
treeId: this.treeId
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
window.open(routerUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
const filename = file.name
|
const filename = file.name
|
||||||
|
|||||||
Reference in New Issue
Block a user