fix: 登录接口参数变更
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { AxiosRequestConfig } from 'axios';
|
||||
import { useAuthStore } from '@/store/modules/auth';
|
||||
import { localStg } from '@/utils/storage';
|
||||
import { fetchRefreshToken } from '../api';
|
||||
import { fetchRefreshToken } from '../api/auth';
|
||||
|
||||
/**
|
||||
* refresh token
|
||||
|
||||
1
src/typings/api.d.ts
vendored
1
src/typings/api.d.ts
vendored
@@ -136,6 +136,7 @@ declare namespace Api {
|
||||
password: string;
|
||||
code: string;
|
||||
uuid: string;
|
||||
authType: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
src/typings/components.d.ts
vendored
2
src/typings/components.d.ts
vendored
@@ -32,7 +32,6 @@ declare module 'vue' {
|
||||
AMenuDivider: typeof import('ant-design-vue/es')['MenuDivider']
|
||||
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
||||
AModal: typeof import('ant-design-vue/es')['Modal']
|
||||
AntTree: typeof import('./../components/custom/ant-tree.vue')['default']
|
||||
APopconfirm: typeof import('ant-design-vue/es')['Popconfirm']
|
||||
APopover: typeof import('ant-design-vue/es')['Popover']
|
||||
AppLoading: typeof import('./../components/common/app-loading.vue')['default']
|
||||
@@ -64,7 +63,6 @@ declare module 'vue' {
|
||||
IconGridiconsFullscreen: typeof import('~icons/gridicons/fullscreen')['default']
|
||||
IconGridiconsFullscreenExit: typeof import('~icons/gridicons/fullscreen-exit')['default']
|
||||
IconIcRoundDelete: typeof import('~icons/ic/round-delete')['default']
|
||||
IconIcRoundMenu: typeof import('~icons/ic/round-menu')['default']
|
||||
IconIcRoundPlus: typeof import('~icons/ic/round-plus')['default']
|
||||
IconIcRoundRefresh: typeof import('~icons/ic/round-refresh')['default']
|
||||
IconIcRoundSearch: typeof import('~icons/ic/round-search')['default']
|
||||
|
||||
@@ -21,7 +21,8 @@ const model = reactive({
|
||||
username: 'ryadmin',
|
||||
password: 'admin123',
|
||||
code: '',
|
||||
uuid: ''
|
||||
uuid: '',
|
||||
authType: 'sys'
|
||||
});
|
||||
|
||||
const rules = {
|
||||
|
||||
Reference in New Issue
Block a user