mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-27 17:20:02 +08:00
bugfix validation of get lock records (#270)
This commit is contained in:
parent
1b550dea89
commit
63944c9815
@ -340,7 +340,7 @@ export const contextMixin = {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.panelType === 'window') {
|
if (this.panelType === 'window' && !this.isEmptyValue(this.$route.params.tableName)) {
|
||||||
this.$store.dispatch('getPrivateAccessFromServer', {
|
this.$store.dispatch('getPrivateAccessFromServer', {
|
||||||
tableName: this.$route.params.tableName,
|
tableName: this.$route.params.tableName,
|
||||||
recordId: this.$route.params.recordId
|
recordId: this.$route.params.recordId
|
||||||
|
@ -783,7 +783,7 @@ const data = {
|
|||||||
userUuid
|
userUuid
|
||||||
})
|
})
|
||||||
.then(privateAccessResponse => {
|
.then(privateAccessResponse => {
|
||||||
if (isEmptyValue(privateAccessResponse.recordId) || privateAccessResponse !== recordId) {
|
if (isEmptyValue(privateAccessResponse.recordId) || privateAccessResponse.recordId !== recordId) {
|
||||||
return {
|
return {
|
||||||
isLocked: false,
|
isLocked: false,
|
||||||
tableName,
|
tableName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user