1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 12:01:57 +08:00

Fixed error with tablename for record access (#829)

This commit is contained in:
Yamel Senih 2021-05-10 01:38:42 -04:00 committed by GitHub
parent a8430e9f85
commit 04ac990f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -520,7 +520,7 @@ export default {
recordUuid: this.recordUuid, recordUuid: this.recordUuid,
panelType: this.panelType, panelType: this.panelType,
isNewRecord: action.action === 'setDefaultValues', isNewRecord: action.action === 'setDefaultValues',
tableName: this.$route.params.tableName, tableName: this.tableName,
recordId: this.getCurrentRecord[this.tableNameCurrentTab + '_ID'] recordId: this.getCurrentRecord[this.tableNameCurrentTab + '_ID']
}) })
.then(response => { .then(response => {