瀏覽代碼

Merge pull request #152 from go-admin-team/dev

Dev
wenjianzhang 4 年之前
父節點
當前提交
b21dd1cc79
共有 2 個文件被更改,包括 9 次插入9 次删除
  1. 1 1
      package.json
  2. 8 8
      src/views/dev-tools/gen/index.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "go-admin",
-  "version": "2.0.3",
+  "version": "2.0.4",
   "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",

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

@@ -125,30 +125,30 @@
 
               <el-popconfirm
                 class="delete-popconfirm"
-                title="正在使用代码生成配置迁移脚本请确认?"
-                confirm-button-text="生成"
-                @onConfirm="handleToApiFile(scope.row)"
+                title="正在使用【菜单以及API生成到数据库】请确认?"
+                confirm-button-text="写入DB"
+                @onConfirm="handleToDB(scope.row)"
               >
                 <el-button
                   slot="reference"
                   type="text"
                   size="small"
                   icon="el-icon-view"
-                >配置迁移脚本</el-button>
+                >生成配置</el-button>
               </el-popconfirm>
 
               <el-popconfirm
                 class="delete-popconfirm"
-                title="正在使用【菜单以及API生成到数据库】请确认?"
-                confirm-button-text="写入DB"
-                @onConfirm="handleToDB(scope.row)"
+                title="正在使用代码生成配置迁移脚本请确认?"
+                confirm-button-text="生成"
+                @onConfirm="handleToApiFile(scope.row)"
               >
                 <el-button
                   slot="reference"
                   type="text"
                   size="small"
                   icon="el-icon-view"
-                >配置生成</el-button>
+                >生成迁移脚本</el-button>
               </el-popconfirm>
 
               <el-popconfirm