ソースを参照

将server/app.tsx中的迁移管理按钮修改为红色样式

yourname 6 ヶ月 前
コミット
0dd93b8966
1 ファイル変更9 行追加8 行削除
  1. 9 8
      server/app.tsx

+ 9 - 8
server/app.tsx

@@ -347,14 +347,6 @@ export default function({ apiClient, app, moduleDir }: ModuleParams) {
                   进入管理后台
                 </a>
                 
-                {/* 迁移管理入口按钮 */}
-                <a
-                  href="/migrations"
-                  className="w-full flex justify-center py-3 px-4 border border-blue-600 rounded-md shadow-sm text-lg font-medium text-blue-600 bg-white hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"
-                >
-                  数据库迁移
-                </a>
-                
                 {/* 移动端入口按钮 */}
                 <a
                   href="/mobile"
@@ -362,6 +354,15 @@ export default function({ apiClient, app, moduleDir }: ModuleParams) {
                 >
                   进入移动端
                 </a>
+
+                {/* 迁移管理入口按钮 */}
+                <a
+                  href="/migrations"
+                  className="w-full flex justify-center py-3 px-4 border border-red-600 rounded-md shadow-sm text-lg font-medium text-red-600 bg-white hover:bg-red-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500"
+                >
+                  数据库迁移
+                </a>
+                
               </div>
             </div>
           </div>