mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 07:04:21 +08:00
fix: Dashboard route path. (#483)
This commit is contained in:
parent
85468ffa0c
commit
74364f6c45
@ -59,7 +59,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getPendingDocuments()
|
this.getPendingDocuments()
|
||||||
this.subscribeChanges()
|
|
||||||
|
this.unsubscribe = this.subscribeChanges()
|
||||||
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
this.unsubscribe()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showMessage,
|
showMessage,
|
||||||
|
@ -73,7 +73,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getRecentItems({ pageToken: undefined, pageSize: undefined })
|
this.getRecentItems({ pageToken: undefined, pageSize: undefined })
|
||||||
this.subscribeChanges()
|
|
||||||
|
this.unsubscribe = this.subscribeChanges()
|
||||||
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
this.unsubscribe()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showMessage,
|
showMessage,
|
||||||
@ -120,11 +124,16 @@ export default {
|
|||||||
if (!this.isEmptyValue(row.uuidRecord)) {
|
if (!this.isEmptyValue(row.uuidRecord)) {
|
||||||
recordUuid = row.uuidRecord
|
recordUuid = row.uuidRecord
|
||||||
}
|
}
|
||||||
|
let tabParent
|
||||||
|
if (row.action === 'window') {
|
||||||
|
tabParent = 0
|
||||||
|
}
|
||||||
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: viewSearch.name,
|
name: viewSearch.name,
|
||||||
query: {
|
query: {
|
||||||
action: recordUuid,
|
action: recordUuid,
|
||||||
tabParent: 0
|
tabParent
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -75,7 +75,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getFavoritesList()
|
this.getFavoritesList()
|
||||||
this.subscribeChanges()
|
|
||||||
|
this.unsubscribe = this.subscribeChanges()
|
||||||
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
this.unsubscribe()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showMessage,
|
showMessage,
|
||||||
@ -124,11 +128,16 @@ export default {
|
|||||||
if (!this.isEmptyValue(row.uuidRecord)) {
|
if (!this.isEmptyValue(row.uuidRecord)) {
|
||||||
recordUuid = row.uuidRecord
|
recordUuid = row.uuidRecord
|
||||||
}
|
}
|
||||||
|
let tabParent
|
||||||
|
if (row.action === 'window') {
|
||||||
|
tabParent = 0
|
||||||
|
}
|
||||||
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: viewSearch.name,
|
name: viewSearch.name,
|
||||||
query: {
|
query: {
|
||||||
action: recordUuid,
|
action: recordUuid,
|
||||||
tabParent: 0
|
tabParent
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user