refactor example demo (#713)

* refactor: Adjust the example directory structure

* perf form demo

* refine editor-slide-upload css

* refine demo
This commit is contained in:
花裤衩
2018-05-30 15:25:08 +08:00
committed by GitHub
parent 6327869106
commit 4fc25241fe
32 changed files with 383 additions and 216 deletions

View File

@@ -8,10 +8,11 @@ export function fetchList(query) {
})
}
export function fetchArticle() {
export function fetchArticle(id) {
return request({
url: '/article/detail',
method: 'get'
method: 'get',
params: { id }
})
}