Skip to content

Commit

Permalink
fix: apply title
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 committed Mar 24, 2024
1 parent a11912d commit 1dcb85e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ApplyEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ const description = ref("");
const submit = async () => {
const labels = encodeURIComponent("申请变更信息");
const title = encodeURIComponent(`申请变更:${id.value}`);
const title = encodeURIComponent(`申请变更:${name.value}`);
const siteid = id.value;
const oldissue = encodeURIComponent(oldIssue.value);
const oldname = encodeURIComponent(name.value);
const oldwebsite = encodeURIComponent(url.value);
const newname = encodeURIComponent(newName.value);
const newwebsite = encodeURIComponent(newLink.value);
Expand All @@ -82,7 +81,6 @@ const submit = async () => {
`&template=update.yml&title=${title}` +
`&siteid=${siteid}` +
`&oldissue=${oldissue}` +
`&oldname=${oldname}` +
`&oldwebsite=${oldwebsite}` +
`&name=${newname}` +
`&newwebsite=${newwebsite}` +
Expand Down

0 comments on commit 1dcb85e

Please sign in to comment.