File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,11 @@ function validateConnection() {
152152const passwordFields = new Set ([' app_secret' , ' client_secret' , ' secret' ])
153153
154154const isPasswordField = (key : any ) => passwordFields .has (key )
155-
155+ const emit = defineEmits ([ ' refresh ' ])
156156function saveConfig() {
157157 platformApi .updateConfig (currentPlatform , loading ).then ((res : any ) => {
158158 MsgSuccess (' 保存成功' )
159-
159+ emit ( ' refresh ' )
160160 visible .value = false
161161 formRef .value ?.clearValidate ()
162162 })
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ function formatFieldName(key?: any): string {
158158}
159159
160160function getPlatformInfo() {
161+ loading .value = true
161162 platformApi .getPlatformInfo (loading ).then ((res : any ) => {
162163 if (res ) {
163164 platforms .forEach ((platform ) => {
Original file line number Diff line number Diff line change 11<template >
2- <div id =" wecom-qr" class =" wecom-qr" style =" margin-left : 60 px " ></div >
2+ <div id =" wecom-qr" class =" wecom-qr" style =" margin-left : 50 px " ></div >
33</template >
44
55<script lang="ts" setup>
@@ -65,4 +65,11 @@ const init = async () => {
6565init ()
6666 </script >
6767
68- <style scoped lang="scss"></style >
68+ <style scoped lang="scss">
69+ .wecom-qr {
70+ margin-top : -40px ;
71+ }
72+ :deep(.wwLogin_qrcode_head ) {
73+ padding : 0 !important ;
74+ }
75+ </style >
You can’t perform that action at this time.
0 commit comments