mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
perf: 重新切换到 settings tab 时加载之前编辑的内容
This commit is contained in:
@@ -67,6 +67,10 @@ const modified = ref(false)
|
||||
const refresh = () => {
|
||||
proxy.$axios.get('/settings').then(response => {
|
||||
managerList.value = response.data.data.managers
|
||||
|
||||
if (proxy.$store.state.settingsPageTab != '') {
|
||||
fetchCurrentManagerData(proxy.$store.state.settingsPageTab)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user