Merge PR #183: 修复账号管理页面过滤器和错误提示问题
This commit is contained in:
@@ -1140,7 +1140,7 @@ const handleSubmit = async () => {
|
|||||||
emit('updated')
|
emit('updated')
|
||||||
handleClose()
|
handleClose()
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
appStore.showError(error.response?.data?.detail || t('admin.accounts.failedToUpdate'))
|
appStore.showError(error.response?.data?.message || error.response?.data?.detail || t('admin.accounts.failedToUpdate'))
|
||||||
} finally {
|
} finally {
|
||||||
submitting.value = false
|
submitting.value = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
<AccountTableFilters
|
<AccountTableFilters
|
||||||
v-model:searchQuery="params.search"
|
v-model:searchQuery="params.search"
|
||||||
:filters="params"
|
:filters="params"
|
||||||
|
@update:filters="(newFilters) => Object.assign(params, newFilters)"
|
||||||
@change="reload"
|
@change="reload"
|
||||||
@update:searchQuery="debouncedReload"
|
@update:searchQuery="debouncedReload"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user