Skip to content

Commit

Permalink
Merge pull request #372 from jamebal/tag
Browse files Browse the repository at this point in the history
feat: 左侧菜单栏添加标签管理功能,包括修改、删除和排序
  • Loading branch information
jamebal authored Feb 19, 2025
2 parents 5a6d961 + 39d8450 commit 26ff42e
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 18 deletions.
22 changes: 22 additions & 0 deletions src/api/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,28 @@ export default {
return qs.stringify(params, { arrayFormat: 'repeat' })
}
})
},
// 修改标签排序
setTagSort: function(data) {
return request({
url: '/tag/sort',
method: 'post',
data
})
},
deleteFileTag: function(params) {
return request({
url: '/deleteTag',
method: 'delete',
params
})
},
updateFileTag: function(params) {
return request({
url: '/updateTag',
method: 'put',
params
})
}
}

Loading

0 comments on commit 26ff42e

Please sign in to comment.