refactor: ♻️ cURD的列表数据模拟网络延迟

This commit is contained in:
cshaptx4869
2024-04-26 21:56:02 +08:00
parent 2b6a210855
commit e5fdf3e23b

View File

@@ -3,6 +3,7 @@ const contentConfig = {
indexAction: function (data: any) {
console.log("index", data);
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve({
code: "00000",
data: {
@@ -40,6 +41,7 @@ const contentConfig = {
},
msg: "一切ok",
});
}, 800);
});
},
deleteAction: function (id: string) {