فهرست منبع

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