|
|
@@ -157,7 +157,7 @@ export default {
|
|
157
|
157
|
};
|
|
158
|
158
|
},
|
|
159
|
159
|
created() {
|
|
160
|
|
- const tableId = this.$route.params && this.$route.params.tableId;
|
|
|
160
|
+ const tableId = this.$route.query && this.$route.query.tableId;
|
|
161
|
161
|
if (tableId) {
|
|
162
|
162
|
// 获取表详细信息
|
|
163
|
163
|
getGenTable(tableId).then(res => {
|
|
|
@@ -212,7 +212,7 @@ export default {
|
|
212
|
212
|
/** 关闭按钮 */
|
|
213
|
213
|
close() {
|
|
214
|
214
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
215
|
|
- this.$router.push({ path: "/tool/gen", query: { t: Date.now()}})
|
|
|
215
|
+ this.$router.push({ path: "/tool/gen", query: { t: Date.now(), pageNum: this.$route.query.pageNum } })
|
|
216
|
216
|
}
|
|
217
|
217
|
},
|
|
218
|
218
|
mounted() {
|