Skip to content

Commit

Permalink
fix(friends): request url with jump
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed May 13, 2023
1 parent 69afde4 commit 2baefef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Friends/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const FriendsPage: BasicPage = () => {
onConfirm={() => {
const REQUEST = {
method: select[0] ? "PUT" : "POST",
URL: select[0] ? jump(`/friends/${select[0]}`) : jump("/friends"),
URL: select[0] ? `/friends/${select[0]}` : "/friends",
title: select[0] ? "修改成功" : "添加成功",
};
const request = async () => {
Expand Down

0 comments on commit 2baefef

Please sign in to comment.