bladex前端ui项目,基于avue-cli2.0开发
包含基础工作流,不包含表单设计器
https://git.javablade.com/blade/Saber
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
581 B
42 lines
581 B
|
3 years ago
|
export default [{
|
||
|
|
url: "/crud/list",
|
||
|
|
method: "get",
|
||
|
|
response: () => {
|
||
|
|
return {
|
||
|
|
data: {
|
||
|
|
total: 10,
|
||
|
|
data: Array(10).fill({
|
||
|
|
name: 'small',
|
||
|
|
sex: '男'
|
||
|
|
}, {
|
||
|
|
name: 'small',
|
||
|
|
sex: '男'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}, {
|
||
|
|
url: "/crud",
|
||
|
|
method: "post",
|
||
|
|
response: () => {
|
||
|
|
return {
|
||
|
|
data: {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}, {
|
||
|
|
url: "/crud",
|
||
|
|
method: "put",
|
||
|
|
response: () => {
|
||
|
|
return {
|
||
|
|
data: {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}, {
|
||
|
|
url: "/crud",
|
||
|
|
method: "delete",
|
||
|
|
response: () => {
|
||
|
|
return {
|
||
|
|
data: {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}]
|