紧急修复了一些bug

This commit is contained in:
张乐
2020-08-17 15:28:28 +08:00
parent b17ad9443e
commit a0311f57f3
122 changed files with 1235 additions and 3297 deletions

View File

@@ -90,7 +90,7 @@ export function AddArticle(pram) {
return request({
url: '/admin/article/save',
method: 'post',
params: data
data: data
})
}
@@ -101,7 +101,6 @@ export function AddArticle(pram) {
*/
export function UpdateArticle(pram) {
const data = {
id: pram.id,
author: pram.author,
cid: pram.cid,
content: pram.content,
@@ -118,6 +117,7 @@ export function UpdateArticle(pram) {
return request({
url: '/admin/article/update',
method: 'post',
params: data
params: { id: pram.id },
data: data
})
}