Skip to content

Commit

Permalink
style: 格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojingjing committed Jan 30, 2024
1 parent 2e70d68 commit a8ae0e1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions packages/guard-core-v4/src/Guard/core/renderModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ import { GuardTenantPortalSelectView } from '../../TenantPortalSelect'

import { GuardNewSubmitSuccessView } from '../../NewSubmitSuccess'

import { JoinTenantView } from '../../TenantPortalSelect/core/JoinTenant'

import { i18n } from '../../_utils/locales'

const { useEffect, useMemo } = React
Expand Down Expand Up @@ -216,7 +214,6 @@ export const RenderModule: React.FC<{
[GuardModuleType.New_SUBMIT_SUCCESS]: key => (
<GuardNewSubmitSuccessView key={key} />
)
// [GuardModuleType.JOIN_TENANT]: key => <JoinTenantView />
}

// 初始化 请求拦截器 (Error Code)
Expand Down
1 change: 0 additions & 1 deletion packages/guard-core-v4/src/Guard/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export enum GuardModuleType {
New_SUBMIT_SUCCESS = 'newSubmitSuccess', // 提交成功展示页
SELECT_ACCOUNT_2_LOGIN = 'selectAccout2Login', // 选择登录身份
RESET_ACCOUNT_NAME = 'resetAccountName'
// JOIN_TENANT = 'joinTenant' // 加入租户
}
export interface GuardModuleAction {
action: string
Expand Down
2 changes: 1 addition & 1 deletion packages/guard-core-v4/src/IconFont/useGuardIconfont.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const useGuardIconfont = (cdnBase?: string, setError?: any) => {
if (!cdnBase) return

try {
const res = await Axios(`${cdnBase}/svg-string/guard-v3?v=3`)
const res = await Axios(`${cdnBase}/svg-string/guard?v=1`) // 刷新缓存

const body = res.data

Expand Down
1 change: 0 additions & 1 deletion packages/guard-core-v4/src/SendCode/SendCodeBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import './style.less'
import { ButtonProps } from 'shim-antd'

import { i18n } from '../_utils/locales'
import classNames from 'classnames'

const { useState, useRef, useEffect, useMemo } = React

Expand Down

0 comments on commit a8ae0e1

Please sign in to comment.