feat(系统设置): 认证页面&弹窗样式调整
This commit is contained in:
parent
19c0a28a5e
commit
595667fa0e
|
@ -54,6 +54,8 @@
|
|||
},
|
||||
]);
|
||||
setLocalStorage('isInitUrl', 'true'); // 设置已经初始化过 url,避免重复初始化
|
||||
} else {
|
||||
setLocalStorage('isInitUrl', 'true'); // 设置已经初始化过 url,避免重复初始化
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
|
|
@ -25,10 +25,10 @@ export const GetAuthDetailUrl = '/system/authsource/get';
|
|||
// 删除认证源
|
||||
export const DeleteAuthUrl = '/system/authsource/delete';
|
||||
// 获取系统主页左上角图片
|
||||
export const GetTitleImgUrl = '/display/get/title';
|
||||
export const GetTitleImgUrl = `${import.meta.env.VITE_API_BASE_URL}/display/get/title`;
|
||||
// 获取登录 logo
|
||||
export const GetLoginLogoUrl = '/display/get/loginLogo';
|
||||
export const GetLoginLogoUrl = `${import.meta.env.VITE_API_BASE_URL}/display/get/loginLogo`;
|
||||
// 获取登录大图
|
||||
export const GetLoginImageUrl = '/display/get/loginImage';
|
||||
export const GetLoginImageUrl = `${import.meta.env.VITE_API_BASE_URL}/display/get/loginImage`;
|
||||
// 获取平台标签图标
|
||||
export const GetPlatformIconUrl = '/display/get/icon';
|
||||
export const GetPlatformIconUrl = `${import.meta.env.VITE_API_BASE_URL}/display/get/icon`;
|
||||
|
|
|
@ -93,19 +93,13 @@
|
|||
}
|
||||
}
|
||||
.ms-modal-medium {
|
||||
.arco-modal {
|
||||
width: 680px;
|
||||
}
|
||||
width: 680px;
|
||||
}
|
||||
.ms-modal-large {
|
||||
.arco-modal {
|
||||
width: 960px;
|
||||
}
|
||||
width: 960px;
|
||||
}
|
||||
.ms-modal-small {
|
||||
.arco-modal {
|
||||
width: 480px;
|
||||
}
|
||||
width: 480px;
|
||||
}
|
||||
|
||||
/** 气泡确认框 **/
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
'cursor-pointer',
|
||||
'items-center',
|
||||
'justify-center',
|
||||
'text-[var(--color-text-brand)]',
|
||||
'text-[var(--color-text-4)]',
|
||||
i === 0 ? 'mt-[36px]' : 'mt-[5px]',
|
||||
]"
|
||||
@click="removeField(i)"
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
() => appStore.getCurrentTopMenu?.name,
|
||||
(val) => {
|
||||
activeMenus.value = [val || ''];
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -25,9 +25,10 @@ export default function useModal() {
|
|||
cancelButtonProps: {
|
||||
type: options.mode === 'weak' ? 'text' : 'secondary',
|
||||
},
|
||||
simple: false,
|
||||
...options,
|
||||
titleAlign: 'start',
|
||||
modalClass: `ms-modal-${options.mode || 'default'} ms-modal-${options.size || 'medium'} ms-modal-${
|
||||
modalClass: `ms-modal-${options.mode || 'default'} ms-modal-${options.size || 'small'} ms-modal-${
|
||||
options.type
|
||||
}`,
|
||||
}),
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
const { t } = useI18n();
|
||||
|
||||
const activeTab = ref('authConfig');
|
||||
const activeTab = ref('baseConfig');
|
||||
const isInitedPageConfig = ref(activeTab.value === 'pageConfig');
|
||||
const isInitedAuthConfig = ref(activeTab.value === 'authConfig');
|
||||
|
||||
|
|
|
@ -209,6 +209,7 @@
|
|||
field="testResourceDTO.ip"
|
||||
class="form-item"
|
||||
:rules="[{ required: true, message: t('system.resourcePool.testResourceDTO.ipRequired') }]"
|
||||
asterisk-position="end"
|
||||
>
|
||||
<a-input
|
||||
v-model:model-value="form.testResourceDTO.ip"
|
||||
|
@ -224,6 +225,7 @@
|
|||
field="testResourceDTO.token"
|
||||
class="form-item"
|
||||
:rules="[{ required: true, message: t('system.resourcePool.testResourceDTO.tokenRequired') }]"
|
||||
asterisk-position="end"
|
||||
>
|
||||
<a-input
|
||||
v-model:model-value="form.testResourceDTO.token"
|
||||
|
@ -236,6 +238,7 @@
|
|||
field="testResourceDTO.nameSpaces"
|
||||
class="form-item"
|
||||
:rules="[{ required: true, message: t('system.resourcePool.testResourceDTO.nameSpacesRequired') }]"
|
||||
asterisk-position="end"
|
||||
>
|
||||
<a-input
|
||||
v-model:model-value="form.testResourceDTO.nameSpaces"
|
||||
|
@ -259,6 +262,7 @@
|
|||
field="testResourceDTO.deployName"
|
||||
class="form-item"
|
||||
:rules="[{ required: true, message: t('system.resourcePool.testResourceDTO.deployNameRequired') }]"
|
||||
asterisk-position="end"
|
||||
>
|
||||
<a-input
|
||||
v-model:model-value="form.testResourceDTO.deployName"
|
||||
|
|
Loading…
Reference in New Issue