瀏覽代碼

feat✨: 修改生成相关功能名称以及显示顺序

zhangwenjian 4 年之前
父節點
當前提交
3460c500f2
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/views/dev-tools/gen/index.vue

+ 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