修复文件问题 修改bug
This commit is contained in:
@@ -193,7 +193,8 @@ const onSubmit = async () => {
|
||||
visible.value = false
|
||||
emit('refresh')
|
||||
} catch (err: any) {
|
||||
useMessage().error(err.msg || '转宿失败')
|
||||
// 统一交给全局拦截器处理错误提示,避免在这里重复弹出一次
|
||||
console.error('转宿失败', err)
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user