feat: 修改url地址,防止307成错误的url地址

This commit is contained in:
jianxiong.cao
2023-09-22 15:11:52 +08:00
parent 43589c66e9
commit 2dc0eca4aa
13 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ async function updateSiteInfo() {
// 更新按钮状态
siteInfoDialog.value = false
const result: { [key: string]: any } = await api.put('site', siteForm)
const result: { [key: string]: any } = await api.put('site/', siteForm)
if (result.success) {
$toast.success(`${cardProps.site?.name} 更新成功!`)
emit('update')