增加日历组件
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { MockMethod } from 'vite-plugin-mock'
|
||||
|
||||
export default [
|
||||
{
|
||||
url: '/onenote/api/v1/one_note',
|
||||
method: 'get',
|
||||
response: () => {
|
||||
return [
|
||||
{
|
||||
section_id: 'x111',
|
||||
section_name: 'A',
|
||||
page_list: [
|
||||
{
|
||||
page_id: 'y111',
|
||||
section_id: 'x111',
|
||||
page_name: 'B',
|
||||
},
|
||||
{
|
||||
page_id: 'y222',
|
||||
section_id: 'x111',
|
||||
page_name: 'C',
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
] as MockMethod[]
|
||||
Reference in New Issue
Block a user