修复代码生成点击多次表修改数据不变化的问题

This commit is contained in:
RuoYi
2020-06-24 17:17:22 +08:00
parent 5d5f955a34
commit 7a9564ced5
3 changed files with 4 additions and 4 deletions

View File

@ -147,8 +147,8 @@ export default {
info: {}
};
},
beforeCreate() {
const { tableId } = this.$route.query;
created() {
const tableId = this.$route.params && this.$route.params.tableId;
if (tableId) {
// 获取表详细信息
getGenTable(tableId).then(res => {