http类型修改
This commit is contained in:
parent
f1c693634d
commit
d21f63d8f3
@ -160,7 +160,7 @@ export default class Article extends BaseList<ArticlePage> {
|
|||||||
}
|
}
|
||||||
pullArticles() {
|
pullArticles() {
|
||||||
ElMessageBox.confirm('确认拉取全部文章?', '操作确认', {type: 'info'}).then(async () => {
|
ElMessageBox.confirm('确认拉取全部文章?', '操作确认', {type: 'info'}).then(async () => {
|
||||||
const data = await this.$http.get<never, any>('/api/article/pull')
|
const data = await this.$http.put<never, any>('/api/article/pull')
|
||||||
if(data.status) {
|
if(data.status) {
|
||||||
ElMessage.success(data.message)
|
ElMessage.success(data.message)
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user