疯狂的狮子Li
2021-09-20 5306a45093bd7549dcd864c58bebd8f53b5fe279
ruoyi-ui/src/views/tool/gen/index.vue
@@ -238,7 +238,8 @@
    const time = this.$route.query.t;
    if (time != null && time != this.uniqueId) {
      this.uniqueId = time;
      this.resetQuery();
      this.queryParams.pageNum = Number(this.$route.query.pageNum);
      this.getList();
    }
  },
  methods: {
@@ -300,6 +301,7 @@
      previewTable(row.tableId).then(response => {
        this.preview.data = response.data;
        this.preview.open = true;
        this.preview.activeName = "domain.java";
      });
    },
    /** 高亮显示 */
@@ -319,7 +321,7 @@
    /** 修改按钮操作 */
    handleEditTable(row) {
      const tableId = row.tableId || this.ids[0];
      this.$router.push("/tool/gen-edit/index/" + tableId);
      this.$router.push({ path: '/tool/gen-edit/index', query: { tableId: tableId, pageNum: this.queryParams.pageNum } });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
@@ -337,4 +339,4 @@
    }
  }
};
</script>
</script>