DVHA
首页
文档
Pro 版本
社区
首页
文档
Pro 版本
社区
阅读时间:1 分钟
0 字

自定义数据接口 ​

通过 dataProvider 适配后端 API。

ts
import { simpleDataProvider } from '@duxweb/dvha-core'

const config = {
  dataProvider: simpleDataProvider({
    apiUrl: 'https://api.example.com',
  }),
}
在 GitHub 上编辑此页
最后更新 2026/2/4 15:33
上一篇登录与鉴权
下一篇 权限管理与路由守卫
基于 MIT 许可证发布Copyright © 2025 DuxWeb