fix: 🐛 补充字典列表接口和mock

This commit is contained in:
Ray.Hao
2025-03-24 10:39:39 +08:00
parent c82ef63c62
commit 822ed91e2b
2 changed files with 26 additions and 0 deletions

View File

@@ -21,6 +21,27 @@ export default defineMock([
},
},
/**
* 字典列表
*/
{
url: "dicts",
method: ["GET"],
body: {
code: "00000",
data: {
list: [
{
value: "gender",
label: "性别",
},
],
total: 1,
},
msg: "一切ok",
},
},
// 新增字典
{
url: "dicts",