2. 编辑和删除操作增加鼠标悬停提示 3. 搜索栏布局的优化工作: - 调整了搜索框容器的宽度和间距 - 优化了搜索框组件的弹性布局 - 设置了下拉框和按钮的最小宽度 - 改进了按钮的对齐方式和间距 - 优化了移动端的响应式布局
10 lines
359 B
Python
10 lines
359 B
Python
from fastapi import APIRouter
|
||
from app.api.endpoints import types, configs
|
||
|
||
api_router = APIRouter()
|
||
|
||
# 页面路由已移至 app.api.pages.py
|
||
|
||
# API路由,不带前缀(因为前缀在main.py中添加)
|
||
api_router.include_router(types.router, prefix="/types", tags=["types"])
|
||
api_router.include_router(configs.router, prefix="/configs", tags=["configs"]) |