diff --git a/ui/src/views/authentication/component/EditModal.vue b/ui/src/views/authentication/component/EditModal.vue index 122cffeb8..6c429485c 100644 --- a/ui/src/views/authentication/component/EditModal.vue +++ b/ui/src/views/authentication/component/EditModal.vue @@ -152,11 +152,11 @@ function validateConnection() { const passwordFields = new Set(['app_secret', 'client_secret', 'secret']) const isPasswordField = (key: any) => passwordFields.has(key) - +const emit = defineEmits(['refresh']) function saveConfig() { platformApi.updateConfig(currentPlatform, loading).then((res: any) => { MsgSuccess('保存成功') - + emit('refresh') visible.value = false formRef.value?.clearValidate() }) diff --git a/ui/src/views/authentication/component/SCAN.vue b/ui/src/views/authentication/component/SCAN.vue index 86a78ca5c..c0d254def 100644 --- a/ui/src/views/authentication/component/SCAN.vue +++ b/ui/src/views/authentication/component/SCAN.vue @@ -158,6 +158,7 @@ function formatFieldName(key?: any): string { } function getPlatformInfo() { + loading.value = true platformApi.getPlatformInfo(loading).then((res: any) => { if (res) { platforms.forEach((platform) => { diff --git a/ui/src/views/login/components/wecomQrCode.vue b/ui/src/views/login/components/wecomQrCode.vue index b4997c4f2..2892e816a 100644 --- a/ui/src/views/login/components/wecomQrCode.vue +++ b/ui/src/views/login/components/wecomQrCode.vue @@ -1,5 +1,5 @@ - +