mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
refactor(系统设置): 扫码登陆页面初始化值去掉默认
This commit is contained in:
parent
8d52c00e9c
commit
7d67a9b258
@ -74,7 +74,7 @@
|
||||
</div>
|
||||
</a-form>
|
||||
<div v-if="showQrCodeTab">
|
||||
<tab-qr-code tab-name="WE_COM"></tab-qr-code>
|
||||
<tab-qr-code :tab-name="orgOptions[0].value"></tab-qr-code>
|
||||
</div>
|
||||
<a-divider
|
||||
v-if="isShowLDAP || isShowOIDC || isShowOAUTH || (isShowQRCode && orgOptions.length > 0)"
|
||||
|
@ -60,7 +60,7 @@
|
||||
|
||||
const orgOptions = ref<qrOption[]>([]);
|
||||
const props = defineProps<{
|
||||
tabName: string;
|
||||
tabName: string | number | boolean | Record<string, unknown> | undefined;
|
||||
}>();
|
||||
function handleClick(val: string | number | boolean) {
|
||||
if (typeof val === 'string') {
|
||||
|
Loading…
Reference in New Issue
Block a user