🐛 Fix: fix aliasArray bug

This commit is contained in:
萌萌哒赫萝
2023-03-08 13:17:45 +08:00
parent 2f92a8be12
commit b027a73b80
3 changed files with 7 additions and 8 deletions

View File

@@ -251,7 +251,7 @@
</template>
<script lang="ts" setup>
import { reactive, ref, onBeforeMount, computed } from 'vue'
import { reactive, ref, onMounted, computed } from 'vue'
import { supportedPicBedList } from '../utils/constants'
import { Delete, Edit, Pointer, InfoFilled } from '@element-plus/icons-vue'
import { ElMessage, ElNotification } from 'element-plus'
@@ -716,14 +716,11 @@ async function transUpToManage (config: IUploaderConfigListItem, picBedName: str
default:
return
}
await manageStore.refreshConfig()
manageStore.refreshConfig()
}
onBeforeMount(async () => {
isLoading.value = true
onMounted(async () => {
await getCurrentConfigList()
getExistingConfig('login')
isLoading.value = false
getAllConfigAliasArray()
})