📝 修改文档.
This commit is contained in:
@@ -51,19 +51,17 @@
|
||||
|
||||
const router = useRouter();
|
||||
const { t } = useI18n();
|
||||
const errorMessage = ref('');
|
||||
const { loading, setLoading } = useLoading();
|
||||
const userStore = useUserStore();
|
||||
|
||||
const errorMessage = ref('');
|
||||
|
||||
const userInfo = reactive<LoginRequest>({
|
||||
username: undefined,
|
||||
password: undefined,
|
||||
});
|
||||
|
||||
const handleSubmit = async ({
|
||||
errors,
|
||||
values,
|
||||
}: {
|
||||
const handleSubmit = async ({ errors, values }: {
|
||||
errors: Record<string, ValidatedError> | undefined;
|
||||
values: LoginRequest;
|
||||
}) => {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="logo">
|
||||
<img class="logo-img"
|
||||
alt="logo"
|
||||
src="@/assets/images/logo.svg?url" />
|
||||
src="@/assets/logo.svg?url" />
|
||||
<div class="logo-text">Orion Visor</div>
|
||||
</div>
|
||||
<!-- 左侧 banner -->
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<img alt="logo"
|
||||
class="terminal-header-logo"
|
||||
draggable="false"
|
||||
src="@/assets/images/logo.svg?url" />
|
||||
src="@/assets/logo.svg?url" />
|
||||
<h5 class="terminal-header-logo-text">Orion Visor</h5>
|
||||
</div>
|
||||
<!-- 左侧 tabs -->
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
import columns from './types/table.columns';
|
||||
import { FILE_TYPE, openSftpChmodModalKey, openSftpMoveModalKey } from '../../types/terminal.const';
|
||||
|
||||
const previewSize = import.meta.env.VITE_SFTP_PREVIEW_MB;
|
||||
const previewSize = Number.parseInt(import.meta.env.VITE_SFTP_PREVIEW_MB);
|
||||
|
||||
const props = defineProps<{
|
||||
session?: ISftpSession;
|
||||
|
||||
Reference in New Issue
Block a user