mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: 优化样式
This commit is contained in:
parent
42791d4c63
commit
4b9253f525
|
|
@ -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()
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div id="wecom-qr" class="wecom-qr" style="margin-left: 60px"></div>
|
||||
<div id="wecom-qr" class="wecom-qr" style="margin-left: 50px"></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
@ -65,4 +65,11 @@ const init = async () => {
|
|||
init()
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
<style scoped lang="scss">
|
||||
.wecom-qr {
|
||||
margin-top: -40px;
|
||||
}
|
||||
:deep(.wwLogin_qrcode_head) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue