fix: 🐛 统一主键为 string 类型
This commit is contained in:
@@ -91,7 +91,7 @@ const MenuAPI = {
|
||||
* @param id 菜单ID
|
||||
* @returns 请求结果
|
||||
*/
|
||||
deleteById(id: number) {
|
||||
deleteById(id: string) {
|
||||
return request({
|
||||
url: `${MENU_BASE_URL}/${id}`,
|
||||
method: "delete",
|
||||
|
||||
Reference in New Issue
Block a user