🐛 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

@ -34,6 +34,7 @@
"@picgo/i18n": "^1.0.0",
"@picgo/store": "^2.0.4",
"@types/marked": "^4.0.8",
"@types/mime-types": "^2.1.1",
"@videojs-player/vue": "^1.0.0",
"ali-oss": "^6.17.1",
"aws-sdk": "^2.1320.0",
@ -83,7 +84,6 @@
"@types/inquirer": "^6.5.0",
"@types/js-yaml": "^4.0.5",
"@types/lowdb": "^1.0.9",
"@types/mime-types": "^2.1.1",
"@types/node": "^16.10.2",
"@types/request-promise-native": "^1.0.17",
"@types/semver": "^7.3.8",

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()
})

View File

@ -19,7 +19,9 @@
"node"
],
"typeRoots": [
"./src/universal/types/*",
"./src/universal/types/",
"./node_modules/@types",
"./node_modules",
],
"paths": {
"@/*": [