fix(frontend): support cookie_bundle candidate in AuthCaptureDialog and refreshAuth
This commit is contained in:
@@ -540,6 +540,10 @@ async function refreshAuth() {
|
||||
const res = await customPagesApi.refreshAuth(page.value.id)
|
||||
if (res.data.success) {
|
||||
ElMessage.success(res.data.message || '凭证已刷新')
|
||||
// 宽松验证模式:凭证已写入但 API 调用失败时后端会返回 warning
|
||||
if (res.data.warning) {
|
||||
ElMessage.warning(res.data.warning)
|
||||
}
|
||||
} else {
|
||||
ElMessage.warning(res.data.message || '刷新失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user