编译上线
This commit is contained in:
parent
507bf2d66a
commit
d40729e04a
2
.gitignore
vendored
2
.gitignore
vendored
@ -24,3 +24,5 @@ dist-ssr
|
||||
*.sw?
|
||||
|
||||
/keys
|
||||
/dist
|
||||
dist.zip
|
@ -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>
|
||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
@ -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;
|
||||
|
@ -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>('');
|
||||
|
@ -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>("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user