refactor: ♻️ cURD的列表数据模拟网络延迟
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user