mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-09 16:21:10 +08:00
【修复】证书颁发机构跳转问题
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { defineComponent, PropType, VNode } from 'vue'
|
||||
import { defineComponent, VNode } from 'vue'
|
||||
import { NButton, NFormItemGi, NGrid, NSelect, NText, NSpin, NFlex } from 'naive-ui'
|
||||
|
||||
// 类型导入
|
||||
@@ -126,7 +126,7 @@ export default defineComponent<CAProviderSelectProps>({
|
||||
return (
|
||||
<div
|
||||
class="flex items-center cursor-pointer hover:text-[#333] hover:bg-[#eee]"
|
||||
onClick={goToAddCAProvider}
|
||||
onClick={() => goToAddCAProvider('addCAForm')}
|
||||
>
|
||||
{$t('t_0_1747990626044')}
|
||||
</div>
|
||||
@@ -139,7 +139,7 @@ export default defineComponent<CAProviderSelectProps>({
|
||||
/>
|
||||
</NFormItemGi>
|
||||
<NFormItemGi span={11}>
|
||||
<NButton class="mx-[8px]" onClick={goToAddCAProvider} disabled={props.disabled}>
|
||||
<NButton class="mx-[8px]" onClick={()=>goToAddCAProvider('caManage')} disabled={props.disabled}>
|
||||
{$t('t_0_1747903670020')}
|
||||
</NButton>
|
||||
<NButton
|
||||
|
||||
@@ -32,8 +32,8 @@ export function useCAProviderSelectController(props: CAProviderSelectProps, emit
|
||||
* @function goToAddCAProvider
|
||||
* @description 跳转到CA授权管理页面
|
||||
*/
|
||||
const goToAddCAProvider = () => {
|
||||
window.open('http://localhost:5173/auto-deploy', '_blank')
|
||||
const goToAddCAProvider = (type: string) => {
|
||||
window.open(`/auto-deploy?type=${type}`, '_blank')
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineComponent, PropType } from 'vue'
|
||||
import { NTag } from 'naive-ui'
|
||||
|
||||
// 类型导入
|
||||
import type { AuthApiTypeIconProps } from './types.d'
|
||||
import type { AuthApiTypeIconProps } from './types'
|
||||
|
||||
// 绝对路径内部导入 - 组件
|
||||
import SvgIcon from '@components/SvgIcon' // 请确保此路径 @components/SvgIcon 是正确的
|
||||
|
||||
Reference in New Issue
Block a user