Browse Source

feat✨ 代码生成页面url调整

zhangwenjian 4 years ago
parent
commit
dd29b87e35
3 changed files with 3 additions and 3 deletions
  1. 1 1
      package.json
  2. 1 1
      src/views/dev-tools/gen/editTable.vue
  3. 1 1
      src/views/dev-tools/gen/index.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "go-admin",
-  "version": "1.4.0",
+  "version": "2.0.0",
   "description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
   "author": "https://github.com/wenjianzhang",
   "license": "MIT",

+ 1 - 1
src/views/dev-tools/gen/editTable.vue

@@ -341,7 +341,7 @@ export default {
     /** 关闭按钮 */
     close() {
       this.$store.dispatch('tagsView/delView', this.$route)
-      this.$router.push({ path: '/tools/gen', query: { t: Date.now() }})
+      this.$router.push({ path: '/dev-tools/gen', query: { t: Date.now() }})
     }
   }
 }

+ 1 - 1
src/views/dev-tools/gen/index.vue

@@ -318,7 +318,7 @@ export default {
     /** 修改按钮操作 */
     handleEditTable(row) {
       const tableId = row.tableId || this.ids[0]
-      this.$router.push({ path: '/tools/editTable', query: { tableId: tableId }})
+      this.$router.push({ path: '/dev-tools/editTable', query: { tableId: tableId }})
     },
     /** 删除按钮操作 */
     handleDelete(row) {