编译上线

This commit is contained in:
MoYi 2023-12-09 00:02:24 +08:00
parent 507bf2d66a
commit d40729e04a
6 changed files with 7 additions and 5 deletions

2
.gitignore vendored
View File

@ -24,3 +24,5 @@ dist-ssr
*.sw?
/keys
/dist
dist.zip

View File

@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/UserAvatar.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue + TS</title>
<title>文件分享站</title>
</head>
<body>
<div id="app"></div>

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -8,7 +8,7 @@ import {File} from "../entities/File";
import {SearchType} from "../entities/SearchType.ts";
import {AccessInformation} from "../entities/AccessInformation.ts";
export const baseUrl = 'http://localhost:8081';
export const baseUrl = '';
export interface Result<T> {
data: T;

View File

@ -228,7 +228,7 @@ const userAuth = computed(() => {
const searchType = ref<SearchType>(SearchType.FILE_NAME);
const searchInput = ref<string>("");
//
const userAvatar = 'src/assets/UserAvatar.jpg'
const userAvatar = 'UserAvatar.jpg'
//
const usernameInput = ref<string>('');
const userPasswordInput = ref<string>('');

View File

@ -277,7 +277,7 @@ const searchInput = ref<string | number>('');
//
const searchType = ref<SearchType>(SearchType.FILE_NAME);
//
const userAvatar = 'src/assets/userAvatar.jpg';
const userAvatar = '/UserAvatar.jpg';
//
const usernameInput = ref<string>("");
const userPasswordInput = ref<string>("");