mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
fix: Error window control state is undefined. (#613)
* fix: Window control state undefined. * remove console log. Co-authored-by: EdwinBetanc0urt <EdwinBetanco0urt@outlook.com> Great catch. Very fine
This commit is contained in:
parent
0405066f60
commit
f4cc107f2b
@ -170,7 +170,7 @@ export default {
|
||||
},
|
||||
getOldRouteOfWindow() {
|
||||
if (this.panelType === 'window') {
|
||||
const oldRoute = this.$store.state.window.windowOldRoute
|
||||
const oldRoute = this.$store.state['windowControl/index'].windowOldRoute
|
||||
if (!this.isEmptyValue(oldRoute.query.action) && oldRoute.query.action !== 'create-new' && this.$route.query.action === 'create-new') {
|
||||
return oldRoute
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ export default {
|
||||
return this.$store.state['process/index'].metadata
|
||||
},
|
||||
windowRecordSelected() {
|
||||
return this.$store.state.window.recordSelected
|
||||
return this.$store.state['windowControl/index'].recordSelected
|
||||
},
|
||||
getterDataRecordsAndSelection() {
|
||||
return this.$store.getters.getDataRecordAndSelection(this.containerUuid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user